386Re: Bug: unintialized variable with name 'constructor' gives strange error
- Mar 4, 2009--- In firstname.lastname@example.org, "bertbelder" <bertbelder@...> wrote:
>Thanks for the report. Please try it again.
> It seems that using a variable named "constructor" that is not declared (which in itself is wrong off course) always produces a strange error. The rhino version of JSLint even crashes when you make this mistake.
> Trying to lint this:
> constructor = 1;
> JSLint produces the error:
> Problem at line 1 character 15: a.push is not a function
- << Previous post in topic Next post in topic >>