In javascript I can create an object with the same name as a function, or i can assign a new property to the function object, like:
function func(){
console.log("inside func");
}
func.a = "new property";
console.log(func.a);
func();
console.log(func);
How do i see what are the properties assigned(and possibly their values) to the function object?