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

Re: [jslint] Unexpected '.'

Expand Messages
  • Jordan Harband
    Why do you recommend wrapping an immediate function invocation in parens, but not an immediate invocation of a function call on a prototype method of an
    Message 1 of 7 , Feb 19, 2012
    • 0 Attachment
      Why do you recommend wrapping an immediate function invocation in parens, but not an immediate invocation of a function call on a prototype method of an anonymous function?

      On Feb 18, 2012, at 5:46 AM, douglascrockford wrote:

      > --- In jslint_com@yahoogroups.com, Jordan Harband <ljharb@...> wrote:
      > >
      > > The error does still occur if you do choose to wrap your function in parens.
      >
      > That is because you shouldn't do that.
      >
      >



      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.