2 ms·
for high perf code, i've found Object.assign() to be significantly faster than spread *. it also invoke getters, whereas spread does not. * this statement will
by leeoniya 4y ago
for high perf code, i've found Object.assign() to be significantly faster than spread *. it also invoke getters, whereas spread does not.
* this statement will self-invalidate in 180 days.
- eurasiantiger 4y agoSo you’re p<0.05 sure that it’s faster?