Strict greater than, greater than or equal, less than and less than or equal comparison operators

# Bouke Scheurwater (7 years ago)

To be able to fully compare number operands with type checking, wouldn't it be nice to have:

Strict greater than ( >== )

Strict greater than or equal ( >=== )

Strict less than ( <== ) and Stricht less than or equal ( <=== )

comparison operators which also check for type?

We'd avoid having to deal with cases like:

null > 0; // false

null == 0; // false null >= 0; // true

# Oriol _ (7 years ago)