Skip to content

Commit 1794dd4

Browse files
committed
add both comment styles per review in sprint 2 error 0
1 parent 42991c0 commit 1794dd4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//This is just an instruction for the first activity - but it is just for human consumption
22
//We don't want the computer to run these 2 lines - how can we solve this problem?
33

4-
//answer: by adding the 2 forward slashes before every line
4+
//answer: 1.by adding the 2 forward slashes before every line for single-line comment.
5+
// 2.If it is a multi-line comment you wrap the code in a slash-star and slash-star symbols

0 commit comments

Comments
 (0)