ExamVeda
Login
Home
This question belongs to Javascript Array And Function
Array and Function
?

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;
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Sandeep Soumya
Sandeep Soumya 5 years ago
please give the correct option as B