Q. Which function is used to print something to the console?

  • (A) console.log()
  • (B) print()
  • (C) log()
  • (D) echo()
πŸ’¬ Discuss
βœ… Correct Answer: (A) console.log()
Explanation: console.log() prints output to the browser console.
Explanation by: Mr. Dubey
console.log() prints output to the browser console.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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