commit
d10b50ae7f
4 changed files with 4 additions and 4 deletions
|
@ -86,7 +86,7 @@ For example:
|
|||
```js
|
||||
// backtick quotes ` allow to split the string into multiple lines
|
||||
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
|
||||
to maintain and evolve the definition of JavaScript.
|
||||
`;
|
||||
|
|
|
@ -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:
|
||||
|
||||
```js run
|
||||
```js
|
||||
// id is a symbol with the description "id"
|
||||
let id = Symbol("id");
|
||||
```
|
||||
|
|
|
@ -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.
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ Why did the `.then` trigger afterwards? What's going on?
|
|||
|
||||
## 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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue