Multiple ChoiceBeginner 30s
Array includes
Choose the best answer for: includes method
Options
- 1includes(value) works only on strings and throws on arrays
- 2includes(value) uses strict equality and fails on values like NaN
- 3includes(value) returns the index where the value is found
- 4includes(value) checks if array contains value using SameValueZero
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.