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

minor fixes
This commit is contained in:
Alexey Pyltsyn 2020-02-02 05:42:42 +03:00 committed by GitHub
commit d10b50ae7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -86,7 +86,7 @@ For example:
```js ```js
// backtick quotes ` allow to split the string into multiple lines // backtick quotes ` allow to split the string into multiple lines
let str = ` let str = `
Ecma International's TC39 is a group of JavaScript developers, ECMA International's TC39 is a group of JavaScript developers,
implementers, academics, and more, collaborating with the community implementers, academics, and more, collaborating with the community
to maintain and evolve the definition of JavaScript. to maintain and evolve the definition of JavaScript.
`; `;

View file

@ -18,7 +18,7 @@ let id = Symbol();
Upon creation, we can give symbol a description (also called a symbol name), mostly useful for debugging purposes: Upon creation, we can give symbol a description (also called a symbol name), mostly useful for debugging purposes:
```js run ```js
// id is a symbol with the description "id" // id is a symbol with the description "id"
let id = Symbol("id"); let id = Symbol("id");
``` ```

View file

@ -534,7 +534,7 @@ The "right" algorithm to do string comparisons is more complex than it may seem,
So, the browser needs to know the language to compare. So, the browser needs to know the language to compare.
Luckily, all modern browsers (IE10- requires the additional library [Intl.JS](https://github.com/andyearnshaw/Intl.js/)) support the internationalization standard [ECMA 402](http://www.ecma-international.org/ecma-402/1.0/ECMA-402.pdf). Luckily, all modern browsers (IE10- requires the additional library [Intl.js](https://github.com/andyearnshaw/Intl.js/)) support the internationalization standard [ECMA-402](http://www.ecma-international.org/ecma-402/1.0/ECMA-402.pdf).
It provides a special method to compare strings in different languages, following their rules. It provides a special method to compare strings in different languages, following their rules.

View file

@ -23,7 +23,7 @@ Why did the `.then` trigger afterwards? What's going on?
## Microtasks queue ## Microtasks queue
Asynchronous tasks need proper management. For that, the Ecma standard specifies an internal queue `PromiseJobs`, more often referred to as the "microtask queue" (ES8 term). Asynchronous tasks need proper management. For that, the ECMA standard specifies an internal queue `PromiseJobs`, more often referred to as the "microtask queue" (ES8 term).
As stated in the [specification](https://tc39.github.io/ecma262/#sec-jobs-and-job-queues): As stated in the [specification](https://tc39.github.io/ecma262/#sec-jobs-and-job-queues):