findIndex.js 172 B

12345678
  1. "use strict";
  2. /**
  3. * @param {Array} array
  4. * @param {Function} predicate
  5. * @returns {number}
  6. */
  7. module.exports = Function.prototype.call.bind(Array.prototype.findIndex);