Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if else short term

name = ((city == null) || (city.getName() == null) ? "N/A" : city.getName());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #short #term
ADD COMMENT
Topic
Name
8+5 =