Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

shorthand if statment in js

 isLoggedIn ? "Logout" : "Login";
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #shorthand #statment #js
ADD COMMENT
Topic
Name
3+7 =