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

Odd line/column numbers

Expand Messages
  • Dominic Mitchell
    When I paste this into jslint.com: var semiColon = missing // 4567890123456789012345 // 1 2 I get back “Problem at line 4 character 1:
    Message 1 of 1 , Feb 21, 2011
    • 0 Attachment
      When I paste this into jslint.com:

      var semiColon = "missing"
      // 4567890123456789012345
      // 1 2

      I get back “Problem at line 4 character 1: Expected ';' and instead saw
      '(end)'.” I would have expected the error to be at line 1 character 25. Is
      JSLint wrong or are my expectations?

      Thanks,
      -Dom


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