Skip to content

Commit

Permalink
!
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Jan 15, 2017
1 parent 784c26a commit 2cde4b8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions jslint.js
@@ -1,5 +1,5 @@
// jslint.js
// 2017-01-10
// 2017-01-13
// Copyright (c) 2015 Douglas Crockford (www.JSLint.com)

// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -4371,6 +4371,11 @@ var jslint = (function JSLint() {
thing.constant = true;
}
break;
case "!":
if (thing.expression.constant === true) {
warn("unexpected_a", thing);
}
break;
default:
if (thing.expression.constant === true) {
thing.constant = true;
Expand Down Expand Up @@ -4883,7 +4888,7 @@ var jslint = (function JSLint() {
}
return {
directives: directives,
edition: "2017-01-10",
edition: "2017-01-13",
exports: exports,
froms: froms,
functions: functions,
Expand Down

0 comments on commit 2cde4b8

Please sign in to comment.