Multiple ChoiceBeginner 30s
is vs == (internals)
Choose the best answer for: is operator
Options
- 1is checks if two references point to the same object
- 2is checks value equality and compares contents deeply
- 3is only works on integers and small immutable values
- 4is is the same as == and can be used interchangeably
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.