Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
JavaScript
/
Destructuring assignment
What does the empty position in const [first, , third] = iterable do?
from Destructuring assignment
Node 24
intermediate
1 min
What does the empty position in const [first, , third] = iterable do?
It requests and discards the next iterator value.
It jumps to numeric property 2 without advancing the iterator.
It binds an implicit variable whose value is undefined.
It closes the iterator before third is read.
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload