rn-web-cli
Version:
React Native for Web
1 lines • 1.89 kB
Source Map (JSON)
{"version":3,"sources":["node_modules\\babel-polyfill\\node_modules\\core-js\\modules\\es6.string.starts-with.js"],"names":["$export","require","toLength","context","STARTS_WITH","$startsWith","P","F","startsWith","searchString","that","index","Math","min","arguments","length","undefined","search","String","call","slice"],"mappings":";AACA;AACA,GAAIA,SAAcC,QAAQ,WAAR,CAAlB;AACIC,SAAcD,QAAQ,cAAR,CADlB;AAEIE,QAAcF,QAAQ,mBAAR,CAFlB;AAGIG,YAAc,YAHlB;AAIIC,YAAc,GAAGD,WAAH,CAJlB;;AAMAJ,QAAQA,QAAQM,CAAR,CAAYN,QAAQO,CAAR,CAAYN,QAAQ,oBAAR,EAA8BG,WAA9B,CAAhC,CAA4E,QAA5E,CAAsF;AACpFI,WAAY,QAASA,WAAT,CAAoBC,YAApB,CAAqD;AAC/D,GAAIC,MAASP,QAAQ,IAAR,CAAcM,YAAd,CAA4BL,WAA5B,CAAb;AACIO,MAAST,SAASU,KAAKC,GAAL,CAASC,UAAUC,MAAV,CAAmB,CAAnB,CAAuBD,UAAU,CAAV,CAAvB,CAAsCE,SAA/C,CAA0DN,KAAKK,MAA/D,CAAT,CADb;AAEIE,OAASC,OAAOT,YAAP,CAFb;AAGA,MAAOJ;AACHA,YAAYc,IAAZ,CAAiBT,IAAjB,CAAuBO,MAAvB,CAA+BN,KAA/B,CADG;AAEHD,KAAKU,KAAL,CAAWT,KAAX,CAAkBA,MAAQM,OAAOF,MAAjC,IAA6CE,MAFjD;AAGD,CARmF,CAAtF","file":"es6.string.starts-with.js","sourceRoot":"D:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export')\n , toLength = require('./_to-length')\n , context = require('./_string-context')\n , STARTS_WITH = 'startsWith'\n , $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /*, position = 0 */){\n var that = context(this, searchString, STARTS_WITH)\n , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length))\n , search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});"]}