[Project_owners] JSON and extensions
asqueella at gmail.com
Sat Mar 4 00:06:02 EST 2006
On 3/3/06, Eric H. Jung <grimholtz at yahoo.com> wrote:
> > Also what does typeof (new MyClass()) return in a HTML page, and from a
> > chrome script?
> They both return "object"
As I suggested on the mozillazine forums, try (new MyClass())
instanceof Object. This check fails for me when and only when the JSON
call fails to work. Figuring out why their code returns null is
something you could easily do yourself, though.
More information about the Project_owners