Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Anderson authored and Brent Anderson committed Sep 15, 2024
1 parent f303c93 commit 9025640
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _posts/2024-09-13-Array-prototype-with.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ tags:
Nice! javascript now has built in one liner for copy & update array item by index
[Array.with()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with#browser_compatibility)

and a few other non-mutating companions like toSpliced, toSorted
sure the array spread syntax already made it pretty easy but it's just cool to see super common patterns get this kind of TLC
and a few other non-mutating companions like [toSpliced, toSorted](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#copying_methods_and_mutating_methods)

sure, the array spread syntax already made it pretty easy but it's just cool to see super common patterns get this kind of TLC

0 comments on commit 9025640

Please sign in to comment.