Skip to content

Commit 7809168

Browse files
committed
minor fixes
1 parent f3aeacc commit 7809168

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

1-js/04-object-basics/07-optional-chaining/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ For instance:
135135
let user = null;
136136
let x = 0;
137137

138-
user?.sayHi(x++); // no "sayHi", so the execution doesn't reach x++
138+
user?.sayHi(x++); // no "user", so the execution doesn't reach sayHi call and x++
139139

140140
alert(x); // 0, value not incremented
141141
```

1-js/05-data-types/02-number/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Now let's write something very small. Say, 1 microsecond (one millionth of a sec
4747
let mсs = 0.000001;
4848
```
4949

50-
Just like before, using `"e"` can help. If we'd like to avoid writing the zeroes explicitly, we could say the same as:
50+
Just like before, using `"e"` can help. If we'd like to avoid writing the zeroes explicitly, we could write the same as:
5151

5252
```js
5353
let mcs = 1e-6; // six zeroes to the left from 1

0 commit comments

Comments
 (0)