Sintaxe do operador ternário em JavaScript
( condition ) ? run this code : run this code instead
shahsawood
( condition ) ? run this code : run this code instead