mdn / js-examples

Code examples that accompany the MDN JavaScript/ECMAScript documentation
https://developer.mozilla.org/en-US/docs/Web/JavaScript
Creative Commons Zero v1.0 Universal
1.11k stars 701 forks source link

Top Level Await examples do not have await code #28

Closed xkeshav closed 6 days ago

xkeshav commented 4 months ago

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

github-actions[bot] commented 4 months ago

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.

Chay2203 commented 4 months ago

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

xkeshav commented 4 months ago

Hey, This has been fixed by me already.

Chay2203 commented 4 months ago

Ohh great @xkeshav!

bsmth commented 6 days ago

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