File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Sprint-1/2-mandatory-errors Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 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
66In JavaScript, there are two ways to write comments:
77
@@ -17,13 +17,9 @@ const num = 8;
1717
18182. 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
2222Example:
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
You can’t perform that action at this time.
0 commit comments