Q. What does the 'this' keyword refer to in a regular function?

  • (A) The calling object
  • (B) The global object
  • (C) The function itself
  • (D) The document
πŸ’¬ Discuss
βœ… Correct Answer: (A) The calling object
Explanation: In a regular function, 'this' refers to the object that called the function.
Explanation by: Mr. Dubey
In a regular function, 'this' refers to the object that called the function.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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