Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to shorten conditional statements javascript

var canDrive = age > 16 ? 'yes' : 'no'
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #shorten #conditional #statements #javascript
ADD COMMENT
Topic
Name
2+6 =