Re: Invalid left-hand side assignment
- --- In firstname.lastname@example.org, "Chris" <Nielsen.Chris@...> wrote:
> I recent debugged some code that followed this pattern:Thanks. Please try it now.
> var a, b, c;
> a === b = c;
> When executed, this results in a syntax error, due to invalid left-hand side assignment. However, this code passes JSLint. I believe JSLint would be improved if it flagged this pattern as a source of error.