Why does the following evaluate to true?
if(false, true) {
console.log("this is true");
}
the output is this is true
with eslint saying Unexpected use of comma operator
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Why does the following evaluate to true?
if(false, true) {
console.log("this is true");
}
the output is this is true
with eslint saying Unexpected use of comma operator