Skip to content

Commit af6b062

Browse files
committed
fix: arquive location
1 parent 446b011 commit af6b062

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed
File renamed without changes.
File renamed without changes.

01-Basics/01-varNfunc/app.js

+16-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// Step 0
66
// alert('Hello Wolrd');
77
console.log('Hello Wolrd');
8+
console
9+
.log
10+
('Olá Mundo');
11+
812
/*
913
Long
1014
Comments
@@ -14,7 +18,9 @@ console.log('Hello Wolrd');
1418

1519
console.log('hello Mr. John');
1620
console.log('hello Mr. Mike');
17-
21+
console.log('hello Mr. Walker');
22+
console.log('hello Mr. Bob');
23+
console.log('hello Mr. Koji');
1824

1925
// Step 2
2026

@@ -42,6 +48,7 @@ sayHello('John');
4248
sayHello('Mike');
4349

4450
function sayHello(n){
51+
// Intent inside block to increase the readability.
4552
console.log('Hello, Mr. ' + n);
4653
}
4754

@@ -52,17 +59,23 @@ function sayHello(n){
5259
Let's understand more about JavaScritp variables.
5360
/////*/
5461

62+
/*
63+
Declarations
64+
65+
var / let / const
66+
67+
*/
68+
5569
/*
5670
Primitive Types:
5771
- Numer = 3 / 3.14
5872
- Boolean = true/false
59-
- String = 'Hello', '3', '3.14'
73+
- String = 'Hello', '3', '3.14' is same as "Hello", "3", "3.14"
6074
- null
6175
- undefined
6276
- Symbol(new in ES6)
6377
*/
6478

65-
6679
console.log('11' - 2); // returns 30, Number
6780
console.log('11' + 2); // returns "112", String
6881
console.log(+'11' + 2); // returns 13, Number

0 commit comments

Comments
 (0)