Not knowing what "the thing circled in the image below" is called makes my question hard to find an answer to.
What is the name of the thing I've circled in the picture below? What is actually is (myObject.myFunction) is irrelevant. I want to be able to write that out to the console. I've tried the following:
console.log(sp); // -- outputs the text that is the actual function (e.g. 'function(config){ ... }'
console.log(sp.constructor); // -- outputs 'function Function(){ [native code] }'
console.log(sp.constructor.name); // -- outputs 'Function'
Thanks,
Dave.

Edit - to try and clarify the question, I've removed the old image (where the object is something to do with ExtJS), and replaced with the above.
I don't want to log down what te function is, or what "properties" it contains (if we're using it like a class) - I just want the text I've circled red.
thiskeyword is called "context" or "this binding" or "thisArg".