Skip to main content
๐Ÿ› Bug HuntJS JavaScript Easy+10 XP

Const Reassignment

This code throws an error.

๐Ÿ› Find the bug
1const count = 0;
2count = count + 1;
3console.log(count);
๐Ÿ› The bug is on line 2

๐Ÿ”ง Select the correct fix:

Priygop - Leading Professional Development Platform | Expert Courses & Interview Prep