You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I reviewed the source code and found this is because, when performed baseExtend it will create an empty object property to destination when source property is object, this is case birthDate is Date and also Object. But later when perform baseExtend inside birthDate there will be nothing to copy since Date object doesn't have any enumerable member.
I think you should modify baseExtend, if the source property is Date, just copy the value to destination rather than performing deep copy.
Assuming I have the code.
I think
$scope.result
should beBut I got actually
I reviewed the source code and found this is because, when performed
baseExtend
it will create an empty object property to destination when source property is object, this is casebirthDate
is Date and also Object. But later when performbaseExtend
insidebirthDate
there will be nothing to copy since Date object doesn't have any enumerable member.I think you should modify
baseExtend
, if the source property is Date, just copy the value to destination rather than performing deep copy.The text was updated successfully, but these errors were encountered: