Skip to content

Commit 7fa74e1

Browse files
Joshua HunterJoshua Hunter
authored andcommitted
<just another commit>
1 parent 53ae9ff commit 7fa74e1

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

how-to-write-code/Comments.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22

33
// console.log("This does not print.");
44

5-
console.log("Hello, World!"); // Comments do not have to start at the beginning of a line.
5+
console.log("Hello, World!"); //Comments do not have to start at the beginning of a line.
6+
//This is my single Line comment
7+
68

79
/* Here is how
810
to have
911
multi-line
1012
comments. */
11-
13+
/* This is
14+
my multi-line
15+
multi-dimensional
16+
comment */
17+
1218
console.log("Comments make your code more readable by others.");

how-to-write-code/consolelogexample02.js

Whitespace-only changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
console.log('Hello, JavaScript.');
22
console.log(2001);
33
console.log("What","do","commas","do?");
4-
console.log("Does", "adding", "space", "matter?");
4+
console.log("Does", "adding","space", "matter?");
55
console.log('Launch' + 'Code');
66
console.log("LaunchCode was founded in", 2013);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
console.log("Some Programming Languages:");
22

3-
console.log("Python\nJavaScript\nJava\nC#\nSwift");
3+
console.log("Python\tJavaScript\nJava\nC#\tSwift");

0 commit comments

Comments
 (0)