Angular 6 has arrived and while browsing through a quick tutorial on Medium, I stumbled upon this interesting piece of code.
else if (!!this.day4Name && !this.day5Name && days[date] !== this.day4Name) {
this.day5Name = days[date];
this.day5State = data[i].weather[0].main;
this.day5Temp = Math.round(data[i].main.temp);
}
I tried searching for an explanation online, but couldn't find a satisfactory answer. Can anyone clarify its behavior? Thank you :)