Multiple choice

Which operator is used to find out if the specified property is in the specified object?

  1. in

  2. comma

  3. new

  4. this

  5. typeof

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The 'in' operator returns true if the specified property is in the specified object. The following syntax can be used for the 'in' operator propertyname in objectname