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

transform logic and function statement to if statement #794

Open
tjx666 opened this issue Jan 12, 2023 · 0 comments
Open

transform logic and function statement to if statement #794

tjx666 opened this issue Jan 12, 2023 · 0 comments
Labels
✨ Feature New refactoring or feature

Comments

@tjx666
Copy link
Contributor

tjx666 commented Jan 12, 2023

before:

condition && callback();

after:

if (condition) {
    callback();
}
@tjx666 tjx666 added the ✨ Feature New refactoring or feature label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature New refactoring or feature
Projects
None yet
Development

No branches or pull requests

1 participant