lvl 1 0
Puzzle #1
warm-up
0 / 2 par
current
[
]
target
[
]
val:

How to Play

Transform the current array into the target array using JavaScript array operations.

unshift(x) and push(x) add a value — pick a value first, then tap the operation.

shift() removes the first element. pop() removes the last.

reverse() reverses the array. swap lets you tap two elements to swap them. sort() sorts ascending.

Try to solve each puzzle at or under par for ★★★. Puzzles get harder as you progress — new operations unlock and arrays grow longer.

Solved!
0
moves
0
par