Domanda di colloquio di Sears

what the difference in JavaScript between == and ===

Risposta di colloquio

Anonimo

14 ott 2017

Both are relational. "==" does check the equality of the values irrespective of the datatype. "===" checks the datatype too. Latter is more stricter.