Skip to content

Commit 107ef70

Browse files
committed
add a comment on why it produces error
1 parent 1879076 commit 107ef70

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • Sprint-2/2-mandatory-errors

‎Sprint-2/2-mandatory-errors/1.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
const age = 33;
44
age = age + 1;
5+
// you can not reassign a value to variable that is declared const.

0 commit comments

Comments
 (0)