Skip to content

Commit

Permalink
es6
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Aug 19, 2015
1 parent b4ed6e8 commit 7ce00de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jslint.js
Expand Up @@ -2814,6 +2814,9 @@ var jslint = (function JSLint() {
value = name;
break;
case '(':
if (!option.es6 && typeof extra !== 'string') {
warn('es6');
}
value = do_function({
arity: 'unary',
from: name.from,
Expand Down

0 comments on commit 7ce00de

Please sign in to comment.