Skip to content

Commit bbfef51

Browse files
committed
Added comments to explain code execution prevention and commenting methods
1 parent cecb6ba commit bbfef51

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • Sprint-1/2-mandatory-errors

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
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+
To prevent the computer from executing these lines of code, you can comment them out,
5+
you can use `//` for single-line comments or `/* */` for multi-line comments, like i demonstated above.

0 commit comments

Comments
 (0)