Showing posts with label Substring contains condition using ReactJS. Show all posts
Showing posts with label Substring contains condition using ReactJS. Show all posts

Thursday, March 5, 2020

Substring contains condition using ReactJS

if (weather.includes("Haze")){
vWeather = "Haze";
} else if (weather.includes("Clouds")){
vWeather = "Clouds";
}

Popular Posts