Last active
September 19, 2018 10:03
-
-
Save cloudshooterhuman/f9947373d6c27d1c0b352e759ba277d8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 (product.getType == productType.TYPE_A) { | |
// ... | |
} else if (product.getType == productType.TYPE_B) { | |
// ... | |
} else if (...) { | |
// ... | |
} | |
else { | |
// ... | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment