Posts by Rafael • 1 point
1 post
-
-3
votes7
answers4295
viewsA: What does it mean Does the solution make comparisons against strings in the following code? JS
var diaDeSemana = "domingo"; if ( diaDeSemana = "domingo" ) { console.log("hoje é dia de futebol!"); } Thus and the correct Sunday being assigned to the day of the week, it cannot be compared,…