Hello, I have a simple question with equal operator(==) and strict equal oprator(===).
The codecademy program said I was wrong when I used just equal operator, even though the result was same as using strict equal operator. (Both worked and printed the same result.)
So, I’m eager to know how those two operator actually works behind the screen. Thank you in advance!
let favoritePhrase = 'Love That!'; favoritePhrase === 'Love That!' // favoritePhase == 'Love That' prints the same result. ? console.log('I love that!') : console.log("I don't love that!");```