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

Re: null in JSLINT.errors

Expand Messages
  • Douglas Crockford
    ... It was a sentinel for an early version of the program. Some other programs discovered it and used it, so there it stays.
    Message 1 of 2 , Sep 29, 2009
      --- In jslint_com@yahoogroups.com, Stefan Weiss <weiss@...> wrote:
      > | If a fatal error was found, a null will be the last element of the
      > | JSLINT.errors array.
      >
      > Out of curiosity: why?

      It was a sentinel for an early version of the program.
      Some other programs discovered it and used it, so there it stays.
    Your message has been successfully submitted and would be delivered to recipients shortly.