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

151Re: [jslint] Re: Block-comment trick stops JSLINT

Expand Messages
  • Paul de Jong
    Aug 6, 2008
    • 0 Attachment
      On Wed, Aug 6, 2008 at 12:46 PM, montago_2004 <mdk@...> wrote:
      > /*
      > Douglas ain't smart.
      > */
      >
      > Douglas is smart.
      >
      > //-------------------------
      >
      > Q: which of those two statements are more accurate ?
      >
      > A: the one, which is not a comment, because its removed by the compiler.
      >
      > so my point is... should JSlint care about text inside comments ?
      > I'm just asking.

      For the reasoning behind removing the comments may I recommend:
      JavaScript: The Good Parts, Douglas Crockford, O'Reilly, 2008.
    • Show all 10 messages in this topic