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

389Re: Bug: unintialized variable with name 'constructor' gives strange error

Expand Messages
  • santini.alberto
    Mar 5 12:16 PM
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...>
      > Thanks for the report. Please try it again.

      Linted on itself:

      Error:

      Problem at line 180 character 1: Expected an assignment or function call and instead saw an expression.

      "use strict";

      Problem at line 3567 character 17: Expected 'if' to have an indentation of 12 instead of 16.

      if (typeof s === 'function') {

      Problem at line 3568 character 21: Expected 's' to have an indentation of 16 instead of 20.

      s = false;

      Problem at line 3569 character 17: Expected '}' to have an indentation of 12 instead of 16.

      }


      Regards,
      Alberto
    • Show all 4 messages in this topic