Sign up
Sign in
As you can see, a new object is created with `Object.assign()`, and we append to the array with `.concat()` instead of `.push()`.
Eric Elliott
TK
Follow
--
1
Share
Javascript Array.push is 945x faster than Array.concat 🤯🤔
iamtk.co
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams