JavaScript arrow functions

const button = (loggedIn) ? () => welcome : () => login;