Hi,

Am I correct in thinking that there's an inherent conflict in using spread 
syntax & performance (penalty caused by megamorphism)?

Example below:

const object = { a: 1, b: 2, c: 3 };
const modifiedObject = { ...object, b: 2 };
const evenMoreModifiedObject = { ...object, a: 2 };

Thanks,
Pawel

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/cfc49731-710a-42d2-b782-a8bf1c5a6e0do%40googlegroups.com.

Reply via email to