Re: return [expression] -> "unable to continue"
- --- In firstname.lastname@example.org, "Douglas Crockford" <douglas@...>
> > The following example causes the JSLint parser to fail:No, I meant "fail" as in "couldn't continue parsing the source".
> I think by "fail" you meant that it succeeded in finding the weakness
> in your code.
If it finds a weakness, it should issue a warning and move on.
> This is explained in the documentation. When = is used in anAh, now I see where this is coming from, and you've got a point. I
> expression, there is a high likelihood that it is an error caused by
> mistyping == or ===.
always use extra parens when an assignment could be misunderstood
as a test. Thanks for the explanation.