-
Notifications
You must be signed in to change notification settings - Fork 477
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
Switch in if/else problem #36
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found this funny using one of your examples...
Duplicated the switch statement, one in the if the other in the else. The IF switch renders fine the ELSE renders wrong.
const code = `
function switchSampleFromMDN() {
const foo = 0;
const bar = 0;
`;
The text was updated successfully, but these errors were encountered: