[Project_owners] JS behavior in FF 1.5
joe at vpop.net
Thu Dec 8 15:38:48 EST 2005
I've experienced the same problem. I had keys in an associative array
such as "pop", "push" etc. somehow firefox thought they were functions
as opposed to just strings. I never did figure out the solution other
than not having keys which have the same name as Array methods.
Nagarjuna Venna wrote:
> If I write the following code in the location bar of FF 1.5, I'm
> getting what I think is a strange result:
> The return value is the function object for map(). In 1.0.7, it used
> to return undefined.
> I'm stumped by the following:
> 1. I'm assuming the value is coming from the global object - how is
> 'a' related to the global object other than being a property of the
> global object?
> 2. How should I use associative arrays if unexpected values like this
> are returned?
> Project_owners mailing list
> Project_owners at mozdev.org
More information about the Project_owners