jshint/jshint — Issue #431: Variable Hoisting Broken?
Author: DashBDev
Created: 2012-01-30 16:45:24+00:00
State: open

I have r05, and this seems to break hoisting logic:
var test = function() {
var fun1 = function (){
fun2();
};

var fun2 = function() {

};

fun1();
};

JSHint Returns:
Implied globals:
fun2: 3

Unused variables:
"test": fun2 (1)

Should this work?