Skip to content

Commit f2dbeac

Browse files
committed
Merge branch 'master' of github.com:javascript-tutorial/en.javascript.info into sync-29216730
2 parents a2d7db5 + 2921673 commit f2dbeac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

1-js/02-first-steps/08-operators/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Here's an extract from the [precedence table](https://developer.mozilla.org/en-U
205205
| 2 | assignment | `=` |
206206
| ... | ... | ... |
207207

208-
As we can see, the "unary plus" has a priority of `15` which is higher than the `13` of "addition" (binary plus). That's why, in the expression `"+apples + +oranges"`, unary pluses work before the addition.
208+
As we can see, the "unary plus" has a priority of `15` which is higher than the `12` of "addition" (binary plus). That's why, in the expression `"+apples + +oranges"`, unary pluses work before the addition.
209209
210210
## Assignment
211211

1-js/11-async/05-promise-api/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ That's what `Promise.all` is for.
1313
The syntax is:
1414

1515
```js
16-
let promise = Promise.all([...promises...]);
16+
let promise = Promise.all(iterable);
1717
```
1818

19-
`Promise.all` takes an array of promises (it technically can be any iterable, but is usually an array) and returns a new promise.
19+
`Promise.all` takes an iterable (usually, an array of promises) and returns a new promise.
2020

2121
The new promise resolves when all listed promises are resolved, and the array of their results becomes its result.
2222

4-binary/03-blob/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ blob.arrayBuffer().then(buffer => /* process the ArrayBuffer */);
223223

224224
## From Blob to stream
225225

226-
When we read and write to a blob of more than `2G`, the use of `arrayBuffer` becomes more memory intensive for us. At this point, we can directly convert the blob to a stream.
226+
When we read and write to a blob of more than `2 GB`, the use of `arrayBuffer` becomes more memory intensive for us. At this point, we can directly convert the blob to a stream.
227227

228228
A stream is a special object that allows to read from it (or write into it) portion by portion. It's outside of our scope here, but here's an example, and you can read more at <https://developer.mozilla.org/en-US/docs/Web/API/Streams_API>. Streams are convenient for data that is suitable for processing piece-by-piece.
229229

0 commit comments

Comments
 (0)