Can (a== 1 && a ==2 && a==3) return true??
const a = {
x: 1,
toString: function () {
return a.x++;
}
}
if (a == 1 && a == 2 && a == 3) {
console.log('Hello World!');
}
const a = {
x: 1,
toString: function () {
return a.x++;
}
}
if (a == 1 && a == 2 && a == 3) {
console.log('Hello World!');
}