Posts by Cleisson Leonardo de Oliveira • 19 points
1 post
-
-3
votes7
answers78990
viewsA: How does this if/Else work with "?" and ":"?
var a = 10; //Método padrão if(a == 10){ //Faça isso }else{ //Faça isso } //Método simplificado a == 10 ? /*Faça isso*/ : /*Faça isso*/…