Multiple ChoiceBeginner 30s
in Operator (MCQ)
Choose the best answer for: in keyword
Options
- 1The in operator checks whether a value exists in an array of items
- 2The in operator is the same as Array.includes for checking membership
- 3'prop' in obj checks property existence in object or prototype
- 4The in operator only works on arrays and never on plain objects
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.