?
If you have a function f and an object o, you can define a method named m of o with
Answer & Solution
Correct Answer:
Option
A
A method is nothing more than a JavaScript function that is stored in a property of an object. If you have a function f and an object o, you can define a method named m of o with the following line:
o.m = f;
o.m = f;
Join the Discussion
Login to post a comment or share your explanation.
Login