jshint/jshint — Issue #353: undef: false is ignored in strict mode
Author: JacekLach
Created: 2011-11-21 15:50:04+00:00
State: open

Checking
```
/*jshint undef: false */
function b() {
"use strict";
a();
}
```

Result:
Line 4: a();

'a' is not defined.

Expected result:
No errors.

Why is it annoying:

https://github.com/jshint/jshint/issues/347
Currently the only way to avoid errors when functions are defined out of order in an anonymous function (for example:
```
(function () {
a();
function a () {}
})();
```
) is not to use strict mode at all, and add an /* undef: false */ flag. The flag alone should suffice.