We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
webcrack is able to successfully flatten if/else nesting in the else branch:
if(cond) { console.log("branch 1") } else { if(cond2) { console.log("branch 2") } else { console.log("branch 3") } }
becomes
if (cond) { console.log("branch 1"); } else if (cond2) { console.log("branch 2"); } else { console.log("branch 3"); }
but the inverse is not unflattened:
if (!cond) { if (cond2) { console.log("branch 2"); } else { console.log("branch 3"); } } else { console.log("branch 1"); }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
webcrack is able to successfully flatten if/else nesting in the else branch:
becomes
but the inverse is not unflattened:
The text was updated successfully, but these errors were encountered: