+ 1
Js
var month = readLine() //your code goes here if(month ="august"){ console.log("vacation") } if(month = "september"){ console.log() } What is the error in this code irrlelivent of month its printing vacation
1 Antwort
+ 5
you can check equality with ==
= is for assigning