+ 1
I did not understand the diff. b/w the equal and identical operators?
2 odpowiedzi
+ 4
= operator assigns value to variables that can be reassigned whereas identical operator i.e.=== means that compared variables are equal wrt value as well as data type
0
"20" == 20: true
"20" === 20: false