Q. What will be the output of the following JavaScript code?

Code:
function myfun()
{
document.getElementById ("demo").innerHTML = Boolean(15.00 === 15);
}
  • (A) 0
  • (B) true
  • (C) false
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (C) false

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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