var func = function func(func) { var func; console.log(typeof func); }; function func(func) { console.log("func"); } func("func");