main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
750 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | var _Reflect$construct = require("core-js-pure/features/reflect/construct.js");
|
---|
| 2 | var _pushInstanceProperty = require("core-js-pure/features/instance/push.js");
|
---|
| 3 | var _bindInstanceProperty = require("core-js-pure/features/instance/bind.js");
|
---|
| 4 | var setPrototypeOf = require("./setPrototypeOf.js");
|
---|
| 5 | var isNativeReflectConstruct = require("./isNativeReflectConstruct.js");
|
---|
| 6 | function _construct(t, e, r) {
|
---|
| 7 | if (isNativeReflectConstruct()) return _Reflect$construct.apply(null, arguments);
|
---|
| 8 | var o = [null];
|
---|
| 9 | _pushInstanceProperty(o).apply(o, e);
|
---|
| 10 | var p = new (_bindInstanceProperty(t).apply(t, o))();
|
---|
| 11 | return r && setPrototypeOf(p, r.prototype), p;
|
---|
| 12 | }
|
---|
| 13 | module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.