The problem was isolated to a leaking of the local variable out into the global context. You can see this if you try the following program: When the function executes the alert displays 0,0,0 which ...
It is almost folklore that the JavaScript equality operator == is evil and you should always use the strict equality operator === but sometimes it just makes things easier to get JavaScript to do all ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results