Sintaxe do operador ternário JavaScript
variable = Expression1 ? Expression2 : Expression3
Bloody Badger
variable = Expression1 ? Expression2 : Expression3