Examveda
Examveda

Which is an equivalent code to invoke a function m of class o that expects two arguments x and y?

A. o(x,y);

B. o.m(x) && o.m(y);

C. m(x,y);

D. o.m(x,y);

Answer: Option D

Solution(By Examveda Team)

The code above is an invocation expression: it includes a function expression o.m and two argument expressions, x and y.

This Question Belongs to Javascript >> Array And Function

Join The Discussion

Related Questions on Array and Function