Last active
October 29, 2018 07:27
-
-
Save anru/fd74ca76d426fa42d14dc6e6f36d2b33 to your computer and use it in GitHub Desktop.
if as description
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
const s = `This ${ Math.random() > 0.5 ? 'abc' : `Hello ${ 'inner backtick' + ' str' } !` } is .` | |
const value = if (s.length > 14) { | |
a | |
} else { | |
b | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment