DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
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
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 Array Methods Functional programming
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
Gleam language Javascript
Uses for nested promises
James Coglan · Mar 22, 2026
Javascript Promises
Will it CPS?
Funcall Blogspot · Aug 27, 2026
Gemini llm
A deep dive into StyleX
Flaviocopes · Aug 27, 2026
StyleX Javascript
Ryan Bigg is (sorta) looking for work
Ryan Bigg · Aug 27, 2026
Career Change Job Opportunities
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google