[jslint] Re: /*global */
- --- In email@example.com, "Jakob Kruse" <kruse@...> wrote:
>I seem to be missing something here. Why are people okay with writing:
> I also find removing the support for /*global */ to be a major setback.
> Please keep support for /*global */.
> Just my two cents.
/*global $ */
This is very perplexing to me. Why would you choose a more verbose and unnecessary syntax that is unsupported by ES5 strict-mode?
- --- In firstname.lastname@example.org, "pauanyu" <pcxunlimited@...> wrote:
> "name" needs to be writable. It has no value by default,Which do you think is more likely, that a program wants to change the global name, or that a var name declaration in a function was forgotten? We won't get an implied global warning, but at least we can get a read only warning. I think that is the more useful default.
> but you can assign a string to it, indicating the name of
> the window/tab.