R

Ram Sharma • 193.86K Points
Coach

Q. Consider the JavaScript code:
Choose the correct code to be inserted at line 4 in order to invoke the function.

Code:
thisfun=function lfc(x){
console.log(x*x);
}
// line 4
  • (A) thisfun(10)
  • (B) lfc(10)
  • (C) function thisfun(10)
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 126
  • 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