Skip to content

Commit 653cdab

Browse files
committed
explain error 1
1 parent 47f89ea commit 653cdab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
const age = 33;
44
age = age + 1;
5+
6+
// In this case, the error is a TypeError which highlights that a different value cannot be assigned to a declared const variable.

0 commit comments

Comments
 (0)