Hans-Georg Michna
7/21/2014 6:38:00 AM
On Mon, 21 Jul 2014 10:23:40 +1000, Andrew Poulos wrote:
>try {
> // blah
>} catch(e) {
> try {
> // blah 2
> } catch(e2) {}
>}
>
>jslint.com says "Expected 'ignore' and instead saw 'e2'".
>
>Is 'ignore' just a variable name that jslint.com prefers?
Yes. My thought on this is that it is not a bad idea to call the
ignored exception 'ignore'. I do that in my programming as well,
have done it already before learning that jslint likes it too.
But it is only a recommendation. You don't have to follow it.
Hans-Georg