Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ternary javascript

let x = x>10 ? 
    			x>10 ? 
    				x>23 ? '' 
					:x>2? '' : 'asd'
    			: '' 
		: x>23 ? '' : '123'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ternary #javascript
ADD COMMENT
Topic
Name
1+6 =