if or elsee condition in shortform in js code example Example: shorthand if statment in js isLoggedIn ? "Logout" : "Login";