/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
es5-ext
/
array
/
#
/
find-index
/
/var/www/greso.tech/server/nsm/node_modules/es5-ext/array/#/find-index
mkdir
upload
Name
Size
Mode
Actions
implement.js
203
0644
edit
dl
rm
index.js
111
0644
edit
dl
rm
is-implemented.js
219
0644
edit
dl
rm
shim.js
540
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/es5-ext/array/#/find-index/is-implemented.js
(219B)
"use strict"; var fn = function (value) { return value > 3; }; module.exports = function () { var arr = [1, 2, 3, 4, 5, 6]; if (typeof arr.findIndex !== "function") return false; return arr.findIndex(fn) === 3; };
Save
"use strict"; var fn = function (value) { return value > 3; }; module.exports = function () { var arr = [1, 2, 3, 4, 5, 6]; if (typeof arr.findIndex !== "function") return false; return arr.findIndex(fn) === 3; };