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

  • (A) function
  • (B) def
  • (C) fun
  • (D) method
πŸ’¬ Discuss
βœ… Correct Answer: (A) function
Explanation: The 'function' keyword is used to declare a function in JavaScript.
Explanation by: Mr. Dubey
The 'function' keyword is used to declare a function in JavaScript.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
69
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate