9 ms·
I followed your link, which has links to two perf sites, which show that Object.assign is nearly 20x more performant than your preferred solution.
by freeopinion 8y ago
I followed your link, which has links to two perf sites, which show that Object.assign is nearly 20x more performant than your preferred solution.
- KaoruAoiShiho 8y agoObject.assign doesn't actually clone anything.