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

null in JSLINT.errors

Expand Messages
  • Stefan Weiss
    Hi. ... Out of curiosity: why? cheers, stefan
    Message 1 of 2 , Sep 28, 2009
    • 0 Attachment
      Hi.

      | If a fatal error was found, a null will be the last element of the
      | JSLINT.errors array.

      Out of curiosity: why?


      cheers,
      stefan
    • 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 2 of 2 , Sep 29, 2009
      • 0 Attachment
        --- 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.