mdn / js-examples

Code examples that accompany the MDN JavaScript/ECMAScript documentation

Home Page:https://developer.mozilla.org/en-US/docs/Web/JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Top Level Await examples do not have await code

xkeshav opened this issue · comments

under the top level await example folder, the code in main.js file is similar to dynamic module imports example folder main.js file content,

There is no example of usage of await syntax.

Cheke this file

https://github.com/mdn/js-examples/blob/main/module-examples%2Ftop-level-await%2Fmain.js

this code is similar to the previous example (dynamic module import) file

https://github.com/mdn/js-examples/blob/main/module-examples%2Fdynamic-module-imports%2Fmain.js

It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

Hey, I would love to work on this issue, can you assign me!?

Hey, This has been fixed by me already.

Closing this one, see the linked PR for details. Thank you :)