diff options
Diffstat (limited to 'node_modules/locutus/golang/strings/LastIndex.js')
-rw-r--r-- | node_modules/locutus/golang/strings/LastIndex.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/locutus/golang/strings/LastIndex.js b/node_modules/locutus/golang/strings/LastIndex.js deleted file mode 100644 index 2d793a6..0000000 --- a/node_modules/locutus/golang/strings/LastIndex.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; - -module.exports = function LastIndex(s, sep) { - // discuss at: http://locutus.io/golang/strings/LastIndex - // original by: Kevin van Zonneveld (http://kvz.io) - // input by: GopherJS (http://www.gopherjs.org/) - // example 1: LastIndex('go gopher', 'go') - // returns 1: 3 - // example 2: LastIndex('go gopher', 'rodent') - // returns 2: -1 - - return parseInt(s.lastIndexOf(sep), 10) >> 0; -}; -//# sourceMappingURL=LastIndex.js.map
\ No newline at end of file |