This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer
This blog post describes the ECMAScript proposal “Change Array by copy” by Robin Ricard and Ashley Claymore. It proposes four new methods for Arrays and Typed Arrays:
.toReversed()
.toSorted()
.toSpliced()
.with()
This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer

Dr. Axel Rauschmayer | Sciencx (2022-04-10T00:00:00+00:00) ECMAScript proposal “Change Array by copy”: four new non-destructive Array methods. Retrieved from https://www.scien.cx/2022/04/10/ecmascript-proposal-change-array-by-copy-four-new-non-destructive-array-methods/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.