_is-extensible.js 292B

1234567891011121314
  1. "use strict";
  2. module.exports = (function () {
  3. var SubArray = require("./_sub-array-dummy"), arr;
  4. if (!SubArray) return false;
  5. arr = new SubArray();
  6. if (!Array.isArray(arr)) return false;
  7. if (!(arr instanceof SubArray)) return false;
  8. arr[34] = "foo";
  9. return arr.length === 35;
  10. }());