- 1

Guys check if my hypothesis is right or wrong is comparison operators is just true or not. var age !=10 document.write(age!==8);

Help me I'm confuse

2nd Mar 2017, 2:00 PM
AsheEvelineRose
AsheEvelineRose - avatar
6 Respuestas
+ 1
no I'm just asking cause I'm a little bit confuse
2nd Mar 2017, 2:09 PM
AsheEvelineRose
AsheEvelineRose - avatar
+ 1
what i can see here is that you have a variable called age that is not equal to 10 and then document.write age that is not 8. these two variables do not appear to have a relation.
2nd Mar 2017, 2:13 PM
Jason Hoffman
Jason Hoffman - avatar
0
is this a code you have saved?
2nd Mar 2017, 2:09 PM
Jason Hoffman
Jason Hoffman - avatar
0
oh I understand now thank u sir!
2nd Mar 2017, 2:28 PM
AsheEvelineRose
AsheEvelineRose - avatar
0
i don't understand your question but, (age != 10) is saying age not equal to 10 (age !== 8) is saying age not identical to 8
2nd Mar 2017, 2:31 PM
Zahir Moniz
Zahir Moniz - avatar
0
sorry about that zahir but thank u for ur answer
2nd Mar 2017, 2:32 PM
AsheEvelineRose
AsheEvelineRose - avatar