Timeline for Replace array entry with spread syntax in one line of code?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 23, 2021 at 21:47 | comment | added | smac89 | However, across all major browsers, this method is the slowest, and I have a feeling it is because of that order preservation. | |
Nov 23, 2021 at 21:36 | comment | added | smac89 | The only question I had was if Object.values preserves the order of the array. After reading the docs, I am happy to report that it does! | |
Aug 3, 2020 at 13:25 | comment | added | Dror Bar | Nice take, but is there any efficiency worries when converting an array to an object and back? | |
May 13, 2020 at 20:18 | history | edited | furnaceX | CC BY-SA 4.0 |
edited body
|
May 12, 2020 at 23:03 | history | answered | furnaceX | CC BY-SA 4.0 |