DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
multiple if statements js es6 inline
var
a
=
(
truthy
)
?
1
:
(
falsy
)
?
2
:
3
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#multiple
#statements
#js
#inline
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit