PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
ends-with
/
benchmark
/
implementations
'use strict' module.exports = function (a, b) { if (Array.isArray(a)) { return a[a.length - 1] === b; } a = String(a); b = String(b); var i = b.length; var len = a.length - i; while (i--) { if (b.charAt(i) !== a.charAt(len + i)) { return false; } } return true; };
[-] substr.js
[edit]
[-] re-test.js
[edit]
[+]
..
[-] re-search.js
[edit]
[-] while.js
[edit]
[-] substring.js
[edit]
[-] slice.js
[edit]
[-] last-index-of.js
[edit]
[-] re-exec.js
[edit]
[-] index-of.js
[edit]