Sintaxis del operador ternario en JavaScript
( condition ) ? run this code : run this code instead
shahsawood
( condition ) ? run this code : run this code instead