Closed sabinthomas closed 5 years ago
Fix for #79, #82 Prevent clone throwing a TypeError when in strict mode or a ReferenceError when attempting to clone objects that do not have setter properties defined.
TypeError
ReferenceError
setter
Added a unit test to check for throws in these situations as well.
Reference
Fix for #79, #82 Prevent clone throwing a
TypeError
when in strict mode or aReferenceError
when attempting to clone objects that do not havesetter
properties defined.Added a unit test to check for throws in these situations as well.
Reference