Skip to content

Commit 9710e5f

Browse files
committed
Made change to the file
1 parent f5e4d38 commit 9710e5f

File tree

1 file changed

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

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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-
/** If you have lines that are just instructions or notes for humans and you don’t want the computer to execute them, you can turn them into comments.
4+
/** The lines that are just instructions or notes for humans and we don’t want the computer to execute them, we turn them into comments.
55
66
In JavaScript, there are two ways to write comments:
77
@@ -17,13 +17,9 @@ const num = 8;
1717
1818
2. Multi-line comment
1919
20-
Use \ /* ... *\ / to wrap several lines.
20+
Use slash asterisk at beginning and asterisk slash at end to wrap several lines.
2121
2222
Example:
23-
This section is just instructions
24-
The computer will ignore everything between these symbols
25-
26-
const num = 5;
27-
23+
The comment wrapping this explanation
2824
*/
2925

0 commit comments

Comments
 (0)