main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
533 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import defineProperty from "./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 | export { _objectSpread as default }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.