3076Re: var window;
- Nov 19, 2012--- In email@example.com, "jontro123" <jonas@...> wrote:
> The following code causes an error in internet explorer:It causes no harm on all of the other browsers. I recommend that you report it to Microsoft instead.
> var window;
> "SCRPT5039: Redeclaration of const property line 1 character 1"
> For us it would be useful if jslint can detect this case and give us an error if the assume browser option is checked.
For over a decade we have tried to work around IE's failings. As a result, Microsoft apparently found little need to fix this stuff. So I won't do it any more. If something works everywhere except on IE, then let it fail.
Not everyone has the freedom to do that, but I do, and I am exercising that right as a Programming American.
- << Previous post in topic Next post in topic >>