πŸ“Š JavaScript
Q. What is the output of the following JavaScript code?
Code:
<script>
	let a = 10;
	let a = 0;
</script>
  • (A) 10
  • (B) 0
  • (C) SyntaxError
  • (D) TypeError
πŸ’¬ Discuss
βœ… Correct Answer: (C) SyntaxError

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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