Posts by Expedito Dias • 29 points
1 post
-
2
votes7
answers4295
viewsA: What does it mean Does the solution make comparisons against strings in the following code? JS
I solved this problem as follows: var diaDeSemana = "domingo"; var dia = 'domingo'; if (diaDeSemana == dia) { console.log("Hoje é dia de futebol!!!"); } without displaying the error message!…