0

Equal catastrophe

Why == another day === or != And !== Why all these signs

10th Jun 2020, 8:45 AM
KC Developer
2 ответов
0
10=="10" this is true bcoz automatic type conversion of string to integer happened and then it compare which is true 10 equals to 10 10==="10" this is false bcoz 10 is integer and "10" is string using === this operation it will give false coz this triple equal operator check datatype and same with ! (not )operator
10th Jun 2020, 8:54 AM
ABHISHEK
ABHISHEK - avatar
0
If you will study js tutorial you will find it there
10th Jun 2020, 8:55 AM
ABHISHEK
ABHISHEK - avatar