Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 197 Bytes

File metadata and controls

15 lines (11 loc) · 197 Bytes

importance: 5


Reescribe el 'if' como '?'

Reescriba esta condición if usando el operador ternario '?':

if (a + b < 4) {
  result = 'Debajo';
} else {
  result = 'Encima';
}