A

Admin • 828.03K Points
Coach

Q. Which keyword is used to define a function in JavaScript?

  • (A) function
  • (B) def
  • (C) fun
  • (D) method
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
The 'function' keyword is used to declare a function in JavaScript.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.