-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcommenting.js
More file actions
19 lines (13 loc) · 823 Bytes
/
commenting.js
File metadata and controls
19 lines (13 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
-------------------------------------------------------------------------------------
Tutorial: using comments in your code
-------------------------------------------------------------------------------------
*/
// Single line comments start with //. The text in the comment will be ignored by the program itself but can be used to make notes or explain what your code does.
// I'm a single comment, yay !
// Multi-line comments, start with /* and end with */. Note that it's same as the tutorial title on the top, it's a multi-line comment.
/*
-------------------------------------------------------------------------------------
Challenge: 1. using single line comment to make this code say: "Hello": console.log("You")
-------------------------------------------------------------------------------------
*/