DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Ternary operator
num =15 print("Positive" if num>=0 else "Negative")
Source by prepinsta.com #
PREVIOUS
NEXT
Tagged:
#Ternary
#operator
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit