Last active
August 29, 2015 13:59
-
-
Save hiun/10735128 to your computer and use it in GitHub Desktop.
JavaScript possible shape of if else statement.
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 (tagInfo === 0) { | |
if (session === true) { | |
if (layout === undefined) { | |
} else if (layout === false) { | |
} | |
} else if (session === undefined) { | |
if (layout === undefined) { | |
} else if (layout === false) { | |
} | |
} | |
} else if (tagInfo !== 0) { | |
if (session === true) { | |
if (layout === undefined) { | |
} else if (layout === false) { | |
} | |
} else if (session === undefined) { | |
if (layout === undefined) { | |
} else if (layout === false) { | |
} | |
} | |
} |
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 (tagInfo === 0) { | |
if (session === true && layout === undefined) { | |
} else if (session === true && layout === false) { | |
} if (session === undefined && layout === undefined) { | |
} else if (session === undefined && layout === false) { | |
} | |
} else if (tagInfo !== 0) { | |
if (session === true && layout === undefined) { | |
} else if (session === true && layout === false) { | |
} if (session === undefined && layout === undefined) { | |
} else if (session === undefined && layout === false) { | |
} | |
} |
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 (tagInfo === 0 && session === undefined layout === undefined) { | |
} else if (tagInfo === 0 && session === true layout === false { | |
} else if (tagInfo !== 0 && session === undefined layout === undefined) { | |
} else if (tagInfo !== 0 && session === true layout === false) { | |
} else if (tagInfo === 0 && session === undefined layout === undefined) { | |
} else if (tagInfo === 0 && session === true layout === false) { | |
} else if (tagInfo !== 0 && session === undefined layout === undefined) { | |
} else if (tagInfo !== 0 && session === true layout === false) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment