Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

space before await in array #307

Closed
LinusU opened this issue Oct 26, 2015 · 2 comments

Comments

@LinusU
Copy link
Member

commented Oct 26, 2015

Is this intentional?

const [bread, butter] = [await breadPromise, await butterPromise]

Missing space before keyword "await".

As you can see I don't use initial spaces in arrays ([a, b] vs. [ a, b ]) which standard is totally fine with, so it seems weird that I need to do it when using await.

@LinusU

This comment has been minimized.

Copy link
Member Author

commented Oct 26, 2015

Probably a duplicate of #268, sorry

@LinusU LinusU closed this Oct 26, 2015

@feross

This comment has been minimized.

Copy link
Member

commented Oct 26, 2015

Yep

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.