frontend/.pnpm-store/v3/files/47/e06893c4da34d8aab1c271b3c26de881c15dbdebf3c968635e55b00dc612d6de6951cc9e53eee2d4db0900c0649cdd344119fd03bab2f6a9b00c224f12f6dc

10 lines
219 B
Plaintext

"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;
};