+ 1
How does this return false?
How does this code return false: var a, b = "undefined"; console.log(a==b);
2 Antworten
+ 6
https://code.sololearn.com/c4ba1u004tBh/?ref=app
Answer will be false because you have written undefined, under double quotes "" which is considered as string and string is not equal to undefined
+ 2
Thanks a lot!