react app

This commit is contained in:
Mario Romano
2016-04-06 17:52:19 +01:00
parent f7e6ef55a2
commit 29df96a085
4425 changed files with 446323 additions and 0 deletions

View 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);
}
});