View Single Post
  #1036  
Old 04-30-2011, 10:42 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Don't know if this also happens with v5, but comparing an attribute (this.attr[1]) to -1 results in true when the attribute carries a string (this.attr[1] == -1 -> true when this.attr[1] = "foo", for example). Doing this on the clientside. Didn't give it a try with non-attribute variables. Seemed quite strange to me..
Reply With Quote