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

1018Re: [jslint] Re: option.undef

Expand Messages
  • Stefan Weiss
    Dec 4, 2009
    • 0 Attachment
      Hello Aseem.

      I agree with your post, except for one nitpick:

      On 04/12/09 19:09, Aseem wrote:
      > Incidentally, it's vulnerable to breaking if the function declaration is tweaked:
      >
      > bar();
      > var bar = function () {
      > // ...
      > };

      That isn't a function declaration, so it won't be hoisted, and it won't
      be available at runtime. It's a function *expression*.

      ACK, otherwise.

      cheers,
      stefan
    • Show all 9 messages in this topic