Files
2018-11-29 11:22:13 +00:00

9 lines
228 B
JavaScript

function f() {
if (1 > 0) {} // NOT OK - always true
if (1 - 1 >= 0) {} // NOT OK - always true
let one = 1;
let two = 2;
if (two > one) {} // NOT OK - always true
if (two <= one) {} // NOT OK - always false
}