diff --git a/src/index.js b/src/index.js index 53279d9..8b13789 100644 --- a/src/index.js +++ b/src/index.js @@ -1,19 +1 @@ - -const activo = true; - -// let mensaje = ''; - -// if ( !activo ) { -// mensaje = 'Activo'; -// } else { -// mensaje = 'Inactivo'; -// } -// const mensaje = ( activo ) ? 'Activo' : 'Inactivo'; -// const mensaje = ( activo ) ? 'Activo' : null; -const mensaje = activo && 'Activo'; - - -console.log(mensaje); - -