Multiple ChoiceBeginner 30s
Array.isArray
Choose the best answer for: array type checking
Options
- 1typeof [] returns 'array'
- 2Array.isArray() reliably checks for arrays
- 3isArray is a string method
- 4[] instanceof Object returns false
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.