Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
What is identical (===)?
1 ответ
+ 7
It checks if the value and the types are identical.
== only checks if the values are identical, so "2" == 2 is true.
But "2" === 2 is false.