Last active
July 9, 2017 20:16
-
-
Save JoaoCnh/ad8334653f887201166cf6487c4783e8 to your computer and use it in GitHub Desktop.
bad code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (data.length === 0 && helperClass.isValid(Math.ceil(data.someValue))) { | |
runFunctionA(data); | |
} else { | |
runFunctionB(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment