en.javascript.info
en.javascript.info copied to clipboard
Modern JavaScript Tutorial
Amended broken link to ECMA-262
The previous example had a bug where you couldn't call `size` property from the proxied `Map` and doing such would raise an error of: ``` Uncaught TypeError: Method get Map.prototype.size...
Article: [Fetch: Cross-Origin Requests](https://github.com/javascript-tutorial/en.javascript.info/blob/master/5-network/05-fetch-crossorigin/article.md) - https://github.com/javascript-tutorial/en.javascript.info/blob/285083fc71ee3a7cf55fd8acac9c91ac6f62105c/5-network/05-fetch-crossorigin/article.md?plain=1#L206 This line gives an idea that there can only be three headers when, in fact, there can be more, as per this [MDN article](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#preflighted_requests)...
an url -> the URL
[This link](https://www.ecma-international.org/publications/standards/Ecma-262.htm) is not valid. I updated it to [the relevant one](https://www.ecma-international.org/publications-and-standards/standards/ecma-262/)
"because all var are “hoisted”" sounds a bit weird. Added "variables declared with".