-
Notifications
You must be signed in to change notification settings - Fork 478
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
es8 async/await bug #30
Comments
@yanhaijing hey. Thanks for feedback. Not sure what is logic behind that code, but valid code will be var a = 12;
if (a) {
const a = 1;
} else {
const a = 2;
} so |
thank you advice, |
@yanhaijing that's fine, it does support es6. You can check examples https://github.com/Bogdan-Lyashenko/js-code-to-svg-flowchart/tree/master/docs/examples (code-sample.js), each of them written in es6. |
https://bogdan-lyashenko.github.io/js-code-to-svg-flowchart/docs/live-editor/index.html ↑this url enter code ↓, async don't support async function () {
} |
ah, I see, yes, it's not supported, sorry for that. |
Thank you for your work. Come on |
es5 code is work
es6 code don't work
The text was updated successfully, but these errors were encountered: