Skip to content

Commit ce03285

Browse files
committed
Use the short circut increment instead the traditonal one
1 parent 9710e5f commit ce03285

File tree

1 file changed

+1
-1
lines changed
  • Sprint-1/2-mandatory-errors

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// change keyword 'const' to 'let'
44
let age = 33;
5-
age = age + 1;
5+
age += 1;
66

77
console.log(age);
88

0 commit comments

Comments
 (0)