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
/
JavaScript
What is the value of `[1, 2, 3].map(n => n * 2)`?
from JavaScript
beginner
1 min
What is the value of `[1, 2, 3].map(n => n * 2)`?
`[2, 4, 6]`
`[1, 2, 3]`
`12`
Check
Ask AI about this kata
Report an error
previous kata
Name the error class thrown when `[].reduce(callback)` has no initial value
Fill in
next kata
Which expression uses `fallback` only when `count` is `null` or `undefined`, while preser…
Quiz
A new version is available
Reload