0
What is use of === in java script?
9 Réponses
+ 8
"string"==number:
"2"==2 //true
"2"===2 //false
…~_~…
+ 7
Match data & type.
"+2"==2 //true
"+2"===2 //false
+ 7
I said!!!
+ 1
This compares not only the value of variable, but also the type of variables
+ 1
For example:
Var a = "2"; //string
Var b = 2; //number
a == b; //true (their values equal)
a === b //false (their type are not equal)
0
means?
0
type means? plz explain in brief
0
Thanks
0
thnks Dmitriy