You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_sub-array-dummy.js 426B

123456789101112131415
  1. "use strict";
  2. var setPrototypeOf = require("../object/set-prototype-of");
  3. module.exports = (function () {
  4. var SubArray;
  5. if (!setPrototypeOf) return null;
  6. SubArray = function () { Array.apply(this, arguments); };
  7. setPrototypeOf(SubArray, Array);
  8. SubArray.prototype = Object.create(Array.prototype, {
  9. constructor: { value: SubArray, enumerable: false, writable: true, configurable: true }
  10. });
  11. return SubArray;
  12. })();