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
πŸ’¬ Discuss
βœ… Correct Answer: (A) thisfun(10)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
206
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
99%
Success Rate