Click in order · JavaScript and TypeScript course · Module 12: Functional Programming
Immutable Array Addition Syntax
Arrange the elements of immutably adding an element to an array:
Items to click
- newItem ];
- const newArr
- = [
- ...oldArr,
You can check the correct answer by solving this task in the CodeWorlds game.