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

Code:
<script>
	let str = "IncludeHelp";
	document.getElementById("test").innerHTML = str.length;
</script>
  • (A) 11
  • (B) 12
  • (C) ValueError
  • (D) SyntaxError
πŸ’¬ Discuss
βœ… Correct Answer: (A) 11

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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