use native assign if available.
This commit is contained in:
parent
bd56b46806
commit
a09bd94052
@ -697,6 +697,9 @@ utils.merge = function merge(target) {
|
|||||||
return target;
|
return target;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (Object.assign)
|
||||||
|
utils.merge = Object.assign;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assertion.
|
* Assertion.
|
||||||
* @function
|
* @function
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user