Pergunta de entrevista da empresa Axxess

what is difference between == and ===

Resposta da entrevista

Sigiloso

14 de abr. de 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