Domanda di colloquio di Revature

Q: What's the difference between == and === in Javascript?

Risposta di colloquio

Anonimo

16 giu 2022

== does conversions between types then compares. === is a strict comparison of the types, so an integer 1, does not equal a string "1"

1