This commit is contained in:
root committed 2023-07-30 22:05:51 +02:00
1 parent 65a0be1350
commit 06acaecee1
12267 files changed
+671638 -15

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
export default function assign(target, object) {
if (target == null) {
throw new TypeError('assign requires that input parameter not be null or undefined');
}
for (var property in object) {
if (Object.prototype.hasOwnProperty.call(object, property)) {
;
target[property] = object[property];
}
}
return target;
}