_isArrayLike.js 422 B

123456789
  1. import createSizePropertyCheck from './_createSizePropertyCheck.js';
  2. import getLength from './_getLength.js';
  3. // Internal helper for collection methods to determine whether a collection
  4. // should be iterated as an array or as an object.
  5. // Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength
  6. // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094
  7. export default createSizePropertyCheck(getLength);