0
What do they mean and how do they work in JavaScript
1. What does this “=“ mean and how does it work or how does it work 2. What does this “==“ mean and how does it work or how does it work 3. What does this “===“ mean and how does it work
3 Answers
+ 2
'=' is for assignement (storing a value in a variable) x = 42 put 42 in variable 'x'
'==' is for value comparison '0'==0 is true, 1==2 is false
'===' is for strict comparison (compare value and type) 1===1 is true, but '1'===1 is false...
0
Please can you be more specific