mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
12
react-app/node_modules/core-js/modules/es6.string.includes.js
generated
vendored
Normal file
12
react-app/node_modules/core-js/modules/es6.string.includes.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// 21.1.3.7 String.prototype.includes(searchString, position = 0)
|
||||
'use strict';
|
||||
var $export = require('./$.export')
|
||||
, context = require('./$.string-context')
|
||||
, INCLUDES = 'includes';
|
||||
|
||||
$export($export.P + $export.F * require('./$.fails-is-regexp')(INCLUDES), 'String', {
|
||||
includes: function includes(searchString /*, position = 0 */){
|
||||
return !!~context(this, searchString, INCLUDES)
|
||||
.indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user