What is == and === in JavaScript?

= is used for assigning values to a variable in JavaScript. == is used for comparison between two variables irrespective of the datatype of variable. === is used for comparision between two variables but this will check strict type, which means it will check datatype and compare two values.

Sizin İçin Seçtik  Squid Game Türkiye'de yasak mı?

Leave a Reply

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

What is != and !== In Javascript?

!== operator ==) is the logical opposite of the strict equality operator . It means “Strictly Not Equal” and returns true where strict equality would return false and vice versa. Strict inequality will not convert data types. For example 1 !==

Sizin İçin Seçtik  Squid Game Türkiye'de yasak mı?

Leave a Reply

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