▲ 3 Ways to Shallow Clone Objects in JavaScript (w/ bonuses) at dmitripavlutin.com▼1 up and 0 down, posted by panzerdp 1915 days ago 1 comment
tracker1 1912 days ago. link 1 point ▲ ▼May as well get rid of the prototype chain... Object.assign(Object.create(null), original)
May as well get rid of the prototype chain... Object.assign(Object.create(null), original)