DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About Privacy
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
Privacy Policy
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

JavaScript immutable array methods: toSorted(), toReversed(), toSpliced(), with()

· Flaviocopes · Aug. 21, 2026, 1:49 p.m.
Javascript Functional programming Array Methods
Summary
Learn how to handle array manipulations in JavaScript without mutating the original array using the new methods toSorted(), toReversed(), toSpliced(), and with().
Read full post on flaviocopes.com →
MORE POSTS LIKE THIS
Fold Function in JavaScript
malik-arsalan00 · Dec 8, 2024
Javascript Functional programming
JavaScript source maps
Louis Pilfold · Apr 24, 2026
Javascript Debugging
Uses for nested promises
James Coglan · Mar 22, 2026
Javascript Functional programming
An Overview of an Ambitious Music Project
isovector · Nov 2, 2026
Haskell Design Patterns
How We Took Over ChatGPT Accounts
simonw · Oct 31, 2026
iframes Javascript
Is there a nicer syntax for `if let ... Some(destructred_field) else None`?
Users Rust Lang · Nov 2, 2026
Functional programming software development
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google
By continuing, you agree to our Privacy Policy.