0
Need help
can someone tell me why in JS var a = {value:20}; var b = {value:20}; alert(a==b); is false plz, i dont understand
5 odpowiedzi
+ 3
Is it because it's not evaluating the content of the Variable, only the variable itself? Meaning 'a' isn't the same as 'b'?
+ 7
You should do :-
alert(a.value==b.value)
+ 2
i still dont get it, but thx for the link
+ 2
ohhh, thx