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

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

Expand Messages
  • Paul de Jong
    ... For the reasoning behind removing the comments may I recommend: JavaScript: The Good Parts, Douglas Crockford, O Reilly, 2008.
    Message 1 of 10 , Aug 6, 2008
    View Source
    • 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.
    Your message has been successfully submitted and would be delivered to recipients shortly.