← Your `.sort()` is mutating state. JavaScript finally gave you the fix.Quiz
Immutable array methods: toSorted, toReversed, toSpliced, with
The classic array methods mutate in place and quietly break reference-based state updates. The ES2023 immutable counterparts return a new array instead. Know which mutates, which copies, and what each returns.
questions6
pass mark70%
resultsat the end
No account needed. Answer all 6 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.