Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js two operations in ternary

[boolean expression] ? (operation1, operation2) : (operation3, operation4);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #operations #ternary
ADD COMMENT
Topic
Name
2+7 =