+ 2
<script> var x = 10; var y = 9; x == y document.write(x); </script>
it doesn't output false can some one please explain why
2 Respuestas
+ 7
because you don't write the comparation. You should so something like that
document.write(x==y);
//or
x = (x==y);
before the write.
0
you didn't give ; after (x==y) :)