_is-extensible.js 296 B

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