-
Notifications
You must be signed in to change notification settings - Fork 446
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
Use ternary operator please #309
Comments
The best practices says that ternary operator is not a good idea. |
When if else only changes a variable is a bad practice, you should use ternary operator. |
The modern best practices says that "else" is not a good idea. |
The modern best practices says that both ternary operator and "else" is not a good idea. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
colors.js/lib/custom/trap.js
Line 39 in 6bc50e7
The text was updated successfully, but these errors were encountered: