Search
 
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
Name
5+7 =