Merge pull request #1723 from Violet-Bora-Lee/master

minor fixes
This commit is contained in:
Ilya Kantor 2020-01-28 19:14:07 +01:00 committed by GitHub
commit a9f1dde7cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -256,7 +256,7 @@ For even values of `i`, the `continue` directive stops executing the body and pa
````smart header="The `continue` directive helps decrease nesting"
A loop that shows odd values could look like this:
```js
```js run
for (let i = 0; i < 10; i++) {
if (i % 2) {

View file

@ -15,6 +15,6 @@ function loadJson(url) {
})
}
loadJson('no-such-user.json') // (3)
loadJson('no-such-user.json')
.catch(alert); // Error: 404
```

View file

@ -58,7 +58,7 @@ alert( new TextDecoder().decode(binaryString) ); // Hello
The syntax is:
```js run
```js
let encoder = new TextEncoder();
```