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
Which expression uses `fallback` only when `count` is `null` or `undefined`, while preser…
from JavaScript
advanced
1 min
Which expression uses `fallback` only when `count` is `null` or `undefined`, while preserving `0`?
`count ?? fallback`
`count || fallback`
`Boolean(count) && fallback`
Check
Ask AI about this kata
Report an error
previous kata
What is the value of `[1, 2, 3].map(n => n * 2)`?
Quiz
next kata
Which properties does `Object.keys(value)` return?
Quiz
A new version is available
Reload