var f = ( function f(){ return "1"; }, function g(){ return 1243; } )() typeof(f); var x =1; if(function f(){}){ x += typeof(f); console.log(x); }