Skip to content

Commit 82f8ddb

Browse files
authored
Merge pull request #47 from javascript-tutorial/sync-a6fdfda0
Sync with upstream @ a6fdfda
2 parents 05eacc3 + 1384532 commit 82f8ddb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,17 @@ Jinými slovy, `e` toto číslo násobí číslem `1` se zadaným počtem nul.
4444
Nyní zapišme něco velmi malého. Třeba 1 mikrosekundu (jednu milióntinu sekundy):
4545

4646
```js
47-
let ms = 0.000001;
47+
let mсs = 0.000001;
4848
```
4949

5050
Stejně jako předtím nám může pomoci použití `"e"`. Jestliže se chceme vyhnout explicitnímu zápisu nul, můžeme zapsat totéž jako:
5151

5252
```js
53+
<<<<<<< HEAD
5354
let ms = 1e-6; // šest nul nalevo od 1
55+
=======
56+
let mcs = 1e-6; // six zeroes to the left from 1
57+
>>>>>>> a6fdfda09570a8ce47bb0b83cd7a32a33869cfad
5458
```
5559

5660
Spočítáme-li nuly v čísle `0.000001`, bude jich 6. Je to tedy přirozeně `1e-6`.

1-js/11-async/08-async-await/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ console.log(user);
136136
137137
If we're not using modules, or [older browsers](https://caniuse.com/mdn-javascript_operators_await_top_level) must be supported, there's a universal recipe: wrapping into an anonymous async function.
138138
139-
Lke this:
139+
Like this:
140140
141141
```js
142142
(async () => {

0 commit comments

Comments
 (0)