๐ Bug HuntJS JavaScript Easy+10 XP
Const Reassignment
This code throws an error.
๐ Find the bug
1
const count = 0;2
count = count + 1;3
console.log(count);๐ The bug is on line 2
This code throws an error.
const count = 0;count = count + 1;console.log(count);