Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the prototype chain?

  1. A The order in which functions are called
  2. B The chain of objects consulted when resolving a property that is not found on the object itself
  3. C A list of all class methods
  4. D The sequence of event handlers
Answer

The chain of objects consulted when resolving a property that is not found on the object itself

Property lookup walks up the chain until it finds the property or reaches null. This is how inheritance works, and class syntax is sugar over it.

All Javascript MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as