Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript ternary operator syntax

variable = Expression1 ? Expression2 : Expression3
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #javascript #ternary #operator #syntax
ADD COMMENT
Topic
Name
2+3 =