first commit
This commit is contained in:
commit
d3bb4199e1
12081 files changed
+662460
No files matched your search
+12
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user