2 ms·That is really for convenience, you can still be explicit: if(foo === 1 || foo === "1" || foo === true) { ...by z3t4 9y agoThat is really for convenience, you can still be explicit: if(foo === 1 || foo === "1" || foo === true) { ...