πŸ“Š JavaScript
Q. What will be the output of the following JavaScript code?
Code:
< p id="demo">< /p>
< script>
var a = "10"; var b = "10"; var c = a * b; document.getElementById ("demo").innerHTML = c; < /script>
  • (A) 10
  • (B) 100
  • (C) 1000
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 100

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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