douglascrockford/JSLint — pull request #146 by jamesallardice (2013-07-23 09:54:04+00:00)
Title: Warn on encountering an invocation of JSON

JSLint is meant to warn when it encounters an invocation of `JSON`, but fails to do so since "JSON" does not match the regex (which looks as if it is meant to match JSLint's format for constructor identifiers).

This fix adds an extra case that will catch the use of `JSON` as a function.