null is one of JavaScript’s primitive values. It is neither equal to boolean true nor equal to boolean false because it’s value is undefined . The value of null is more inclined towards false even though it is not false .
Why null == null is false?
null is one of JavaScript’s primitive values. It is neither equal to boolean true nor equal to boolean false because it’s value is undefined . The value of null is more inclined towards false even though it is not false .