apes0123
(techhtml)
April 10, 2018, 5:38am
1
Issue:
The async function declaration creates a binding of a new async function to a given name. The await keyword is permitted within the function body, enabling asynchronous, promise-based behavior to be written in a cleaner style and avoiding the need to...
This documents ECMAScript 2017 (ECMA-262) Link going to 404 pages.
Why:
I don’t know why this happen,
But maybe reference link are deleted
{{SpecName('ES8', '#sec-async-function-definitions', 'async function')}}
will go ECMAScript® 2017 Language Specification .
So if can change, ES8 specifications URL are
https://tc39.github.io/ecma262/2018/#sec-async-function-definitions
Thanks.
@apes0123 I’d suggest using https://www.ecma-international.org/ecma-262/8.0/#sec-async-function-definitions as the canonical URL for ES8/ES2017. The second URL refers to ECMAScript 2018.
If you want to help, you can open a pull request on https://github.com/mdn/kumascript/blob/master/macros/SpecData.json#L649 and provide the right URL Do not hesitate to ping me if you need any help with that or don’t want to (I can propose this change as well).
Let’s get this 404 fixed
apes0123
(techhtml)
April 10, 2018, 7:41am
3
Thank you for your supporting!
I send pull request now.
mdn:master
← techhtml:fix/spec-data
opened 07:41AM - 10 Apr 18 UTC
Issue:
https://discourse.mozilla.org/t/wrong-links-in-es8-varibales/27547/2
… Fix wrong spec link.
1 Like
Thanks! I’ve merged it. it’ll be part of the next push of KumaScript on MDN (changes aren’t applied live )
1 Like