0
Umm help.
console.log((false===(false&&false))+"1") console.log((false&&false)+"2") console.log((true&&false)+"3") console.log((true&&true)+"4") console.log((0&&true)+"5") console.log((2&&500)+"6")
2 Respostas
+ 5
You would need semicolons as statement terminators I think.
+ 1
In each case, the result of logical operations are concatenated with the string followed by them (which are numbers).
To get more understanding of why this output, have a glance at this -
https://javascript.info/logical-operators