Return to site

Javascript does not equal null

broken image
broken image
broken image
broken image

It looks very odd to hear that because in mathematics if we have two numbers i.e a and b and if a is not less than b then the possible scenarios are either a is greater than or equal to b.īut in the case of null and “0” null is not greater than ' 0' or equal to ' 0' but greater than or equal to ' 0'.

broken image