The older way to do a shallow copy was someOtherArray.slice(), which is still significantly faster than using spread (lower overhead) for those rare sitautions where it matters. Of course, it only works on actual arrays; spread works on any iterable. https://jsperf.com/spread-vs-array-slice …
-
-
- 1 more reply
New conversation -
-
-
I will be checking the milliseconds on the timestamps to see who won this racehttps://twitter.com/zachleat/status/1110218534599229441 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.