adplus-dvertising
frame-decoration

Question

If you have a function f and an object o, you can define a method named m of o with

a.

o.m=m.f;

b.

o.m=f;

c.

o=f.m;

d.

o=f;

Posted under JavaScript

Answer: (a).o.m=m.f;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If you have a function f and an object o, you can define a method named m of o with