Multiple choice technology programming languages

One can add custom method and properties to objects in javascript without using prototype as well.

  1. True

  2. False

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

The prototype property is the standard, supported way to add methods to constructor functions in JavaScript. Without using prototype, you can only add methods to individual object instances, not to the object type/class itself. The statement is fundamentally incorrect.