diff options
Diffstat (limited to 'node_modules/locutus/golang/strings/Index2.js.map')
-rw-r--r-- | node_modules/locutus/golang/strings/Index2.js.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/golang/strings/Index2.js.map b/node_modules/locutus/golang/strings/Index2.js.map new file mode 100644 index 0000000..b00e5a3 --- /dev/null +++ b/node_modules/locutus/golang/strings/Index2.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/golang/strings/Index2.js"],"names":["module","exports","Index","s","sep","indexOf"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,KAAT,CAAgBC,CAAhB,EAAmBC,GAAnB,EAAwB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAO,CAACD,IAAI,EAAL,EAASE,OAAT,CAAiBD,GAAjB,CAAP;AACD,CATD","file":"Index2.js","sourcesContent":["module.exports = function Index (s, sep) {\n // discuss at: http://locutus.io/golang/strings/Index\n // original by: Kevin van Zonneveld (http://kvz.io)\n // example 1: Index('Kevin', 'K')\n // returns 1: 0\n // example 2: Index('Kevin', 'Z')\n // returns 2: -1\n\n return (s + '').indexOf(sep)\n}\n"]}
\ No newline at end of file |