If statement is returning both true and false statment in javascript ...

If statement is returning both true and false statment in javascript ...

More to explore

Based on this image's title: “If statement is returning both true and false statment in javascript ...