We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1048abe commit de698caCopy full SHA for de698ca
html/chapter01/03-Operators.js
@@ -1,24 +1,19 @@
1
// @ts-check
2
3
/* Arithmetic operators */
4
-var num = 0;
5
-
+var num = 0; // {1}
6
console.log('num value is ' + num);
7
8
num = num + 2;
9
10
console.log('New num value is ' + num);
11
12
num = num * 3;
13
14
15
16
num = num / 2;
17
18
19
20
num++;
21
22
num--;
23
24
html/chapter01/04-TruthyFalsy.js
@@ -22,4 +22,4 @@ testTruthy({}); // true (object is always true)
var obj = { name: 'John' };
testTruthy(obj); // true
testTruthy(obj.name); // true
25
-testTruthy(obj.age); // age (prop does not exist)
+testTruthy(obj.age); // age (property does not exist)
0 commit comments