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

716Re: [jslint] Re: console read only

Expand Messages
  • Marcel Duran
    Jul 8, 2009
    • 0 Attachment
      by "work" I meant "will evaluate the expression" not the result itself.again:
      if console is not defined, your test, if (console === undefined) will raise
      a ReferenceError exception.
      If you still don't believe, try it yourself, go into your firebug console
      and type:

      if (foobar === undefined) {}

      and run...

      assuming foobar wasn't prior defined elsewhere you'll get a "ReferenceError:
      foobar is not defined" message.

      Marcel


      [Non-text portions of this message have been removed]
    • Show all 18 messages in this topic