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 fundamentals
Which condition accepts an ordinary non-null object but rejects arrays?
from JavaScript fundamentals
Node 24
intermediate
1 min
Which condition accepts an ordinary non-null object but rejects arrays?
value !== null && typeof value === "object" && !Array.isArray(value)
typeof value === "object"
Boolean(value)
value instanceof Object || value === null
Check
Ask AI about this kata
Report an error
previous kata
Spot the bug in page size parsing
Spot the bug
A new version is available
Reload