V

Vishal Gupta • 7.73K Points
Tutor III

Q. Consider the following code snippet.
Which is an equivalent code for the above code snippet?

Code:
opt.fun(p,q);
  • (A) opt.fun(p && q);
  • (B) opt(fun)["p","q"];
  • (C) opt.fun(p) && opt.fun(q);
  • (D) opt["fun"](p,q);
  • Correct Answer - Option(D)
  • Views: 157
  • Filed under category JavaScript

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics