polyfill-service
Version:
A polyfill combinator
1 lines • 798 B
JSON
{"aliases":["es6","modernizr:es6string","blissfuljs","default"],"browsers":{"android":"*","bb":"*","chrome":"<=40","firefox":"3.6 - 17","opera":"10 - 18","safari":"*","ie":"6 - *","ie_mob":"10 - *","ios_saf":"*","firefox_mob":"3.6 - 17"},"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith","baseDir":"String/prototype/startsWith","hasTests":false,"rawSource":"\n// String.prototype.startsWith\nString.prototype.startsWith = function (string) {\n\tvar index = arguments.length < 2 ? 0 : arguments[1];\n\n\treturn this.slice(index).indexOf(string) === 0;\n};\n","minSource":"String.prototype.startsWith=function(t){var i=arguments.length<2?0:arguments[1];return 0===this.slice(i).indexOf(t)};","detectSource":"'startsWith' in String.prototype"}