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 .

Sizin İçin Seçtik  1 Gate token kaç dolar?

Leave a Reply

Your email address will not be published. Required fields are marked *

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 .

Sizin İçin Seçtik  How do you check if an object has all null values in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *