is therea short way in JS to write if is true do this code example Example: shorthand if statment in js isLoggedIn ? "Logout" : "Login";