Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

syntax of ternary operator in javascript

( condition ) ? run this code : run this code instead
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #syntax #ternary #operator #javascript
ADD COMMENT
Topic
Name
4+5 =