Sha256: 2209e4cf302abda3144d03d47b82d1bfb70ff93b54f4f759f0cb472bd9c3339f
Contents?: true
Size: 476 Bytes
Versions: 320
Compression:
Stored size: 476 Bytes
Contents
// 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); } });
Version data entries
320 entries across 8 versions & 3 rubygems