File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1- This is just an instruction for the first activity - but it is just for human consumption
2- We don 't want the computer to run these 2 lines - how can we solve this problem?
1+ // This is just an instruction for the first activity - but it is just for human consumption
2+ // We don't want the computer to run these 2 lines - how can we solve this problem?
Original file line number Diff line number Diff line change 11// trying to create an age variable and then reassign the value by 1
22
3- const age = 33 ;
3+ // to run this file we need to go in the root and once we are in the file run, node 1.js eg => /Sprint-1/errors node 1.js
4+
5+ cost age = 33 ; // this line is not working because const does not allow you change the data so we can change to let.
46age = age + 1 ;
7+ console . log ( age ) ;
8+
9+
10+ let age = 33 ;
11+ age = age + 1 ;
12+ console . log ( age ) ;
13+
You can’t perform that action at this time.
0 commit comments