The problem
How can I ensure the condition returns true
and print 1.
var a = ?;
if(a == 1 && a == 2 && a == 3){
console.log(1); // 1
}
For further actions, you may consider blocking this person and/or reporting abuse
Sloan the DEV Moderator -
Tim Nelles -
Lokesh Joshi -
Abisola Adesegun -
Top comments (1)
Please use the #help tag for help with coding problems.