var functor=function(){ //test } functor.prop=1; console.log(functor);
this only show the function part of the functor, cannot show the prope
With modern browsers, console.log(functor) works perfectly (behaves the same was a console.dir).
console.log(functor)
console.dir