Skip to content

Commit da74f6c

Browse files
committed
added pre-work-starter-code
1 parent e0f20f8 commit da74f6c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

how-to-write-code/Comments.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// This demo shows off comments!
2+
3+
// console.log("This does not print.");
4+
5+
console.log("Hello, World!"); // Comments do not have to start at the beginning of a line.
6+
7+
/* Here is how
8+
to have
9+
multi-line
10+
comments. */
11+
12+
console.log("Comments make your code more readable by others.");

0 commit comments

Comments
 (0)