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


Expand Messages
  • Douglas Crockford
    Apr 5, 2010
      There is a new option, Tolerate ES5 syntax. If you check this option, JSLint will accept the new get/set syntax in object literals.

      It will require that the get and set functions be declared together, that the get function have no parameters, and that the set function will have a single parameter called 'value'.

      Please let me know if you find any problems. Eventually it may recognize other corrections with this option, such as dangling commas in array and object literals.
    • Show all 12 messages in this topic