We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Object.assign
1 parent 7977442 commit 07c59fdCopy full SHA for 07c59fd
dev-packages/rollup-utils/polyfills/es5.js
@@ -39,3 +39,13 @@ if (!('endsWith' in String.prototype)) {
39
return i > -1 && i === this.length - searchElement.length;
40
};
41
}
42
+
43
+if (!('assign' in Object)) {
44
+ Object.assign = function __assign(t) {
45
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
46
+ s = arguments[i];
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
48
+ }
49
+ return t;
50
+ };
51
+}
0 commit comments