DEV Community

Discussion on: Best way to copy an object in JavaScript?

Collapse
 
alainvanhout profile image
Alain Van Hout

Wouldn't 'object.c === undefined' be true for both the first and the second, meaning that in pretty much every sense of the word, the two are indeed equal?