Domanda di colloquio di Axxess

what is difference between == and ===

Risposta di colloquio

Anonimo

14 apr 2020

Although both the "==" and "===" operators are used for checking comparisons, the difference between them is "==" checks, if the values been compared, are the same not minding the type while "===" is used for strict comparisons which checks for both data type and value.

1