Beta 7 with some repo names changed.
This commit is contained in:
1 parent
0f7b40cca7
commit
963c19493a
3408 files changed
+462217
-15516
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
var setPrototypeOf = require("../object/set-prototype-of");
|
||||
|
||||
module.exports = (function () {
|
||||
var SubArray;
|
||||
|
||||
if (!setPrototypeOf) return null;
|
||||
SubArray = function () { Array.apply(this, arguments); };
|
||||
setPrototypeOf(SubArray, Array);
|
||||
SubArray.prototype = Object.create(Array.prototype, {
|
||||
constructor: { value: SubArray, enumerable: false, writable: true, configurable: true }
|
||||
});
|
||||
return SubArray;
|
||||
})();
|
||||
Reference in new issue
Block a user