Skip to content

Commit 4610def

Browse files
Correct identified errors.
1 parent 1e4ccf1 commit 4610def

File tree

1 file changed

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

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
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.
3+
4+
//SyntaxError: Unexpected identifier 'is' that was the error after i ran node.
5+
// I think javascript is trying run them word for word and found is in an unfamiliar place.
6+
// could also be that its trying to run is as a code which is not correct.
7+
8+
/* To make this correct we can add a double line(//) before the statement to make it a single line comment,
9+
or we can add a line and asterisk before and after to make it a double line comment */

0 commit comments

Comments
 (0)