main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
609 bytes
|
Rev | Line | |
---|
[d565449] | 1 | var defineProperty = require("./defineProperty.js");
|
---|
| 2 | function _objectSpread(e) {
|
---|
| 3 | for (var r = 1; r < arguments.length; r++) {
|
---|
| 4 | var t = null != arguments[r] ? Object(arguments[r]) : {},
|
---|
| 5 | o = Object.keys(t);
|
---|
| 6 | "function" == typeof Object.getOwnPropertySymbols && o.push.apply(o, Object.getOwnPropertySymbols(t).filter(function (e) {
|
---|
| 7 | return Object.getOwnPropertyDescriptor(t, e).enumerable;
|
---|
| 8 | })), o.forEach(function (r) {
|
---|
| 9 | defineProperty(e, r, t[r]);
|
---|
| 10 | });
|
---|
| 11 | }
|
---|
| 12 | return e;
|
---|
| 13 | }
|
---|
| 14 | module.exports = _objectSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.