Skip to content

Use async/await in examples as often as possible? #565

Answered by wbamberg
greggman asked this question in Content
Discussion options

You must be logged in to vote

We have a policy on this! https://developer.mozilla.org/en-US/docs/MDN/Guidelines/Code_guidelines/JavaScript#use_modern_js_features which says it's fine to use async/await. It doesn't actually encourage it (although personally I think it should).

But I think it would be fine to update the example you've quoted.

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wbamberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment