Wilhelm is writing a constructor in JavaScript. He uses the word "this" when referring to the properties and methods in his object parameters and functions. Why?
A.
The "this" keyword is used to represent the object as the properties and methods are defined.
B.
Wilhelm's schema is not finalized yet, so he uses "this" as an empty placeholder in the code until the schema is set.
C.
The word "this" has no significance outside of Wilhelm's script ?he chose this nomenclature randomly.
D.
Wilhelm can reuse the object by substituting the word "this" for the real values, using a function to insert the real names.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit