Loading ...
Sorry, an error occurred while loading the content.

2801Re: Predefined Globals Enhancement

Expand Messages
  • douglascrockford
    Feb 23, 2012
      --- In jslint_com@yahoogroups.com, "benxwhite" <ben.a.white@...> wrote:

      > It would be nice if the following predefined globals could be added to the 'browser' array
      >
      > self
      > top
      > XDomainRequest
      >
      > and these to the 'standard' array
      >
      > void
      > escape
      > unescape

      self is redundant.
      top is dangerous. I will not be exposing that by default.
      XDomainRequest is not standard.
      void is confusing.
      escape/unescape have been deprecated and should not be used.

      What would be nice about that?
    • Show all 4 messages in this topic