DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+6 =
Submit