$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #182
What is the output?
const [a, , b] = [1, 2, 3]; console.log(a, b);
1 3
1 2
2 3
1 undefined
The empty slot in the pattern skips one element of the array.
Play Problem Solving ▸
◂ #181
all Problem Solving — predict the output questions
#183 ▸