JavaScript Callee property
Hi all,
It always amazes me how I discover another JavaScript feature I wasn’t aware of. The feature I want to discuss here in this post is the Callee property we have from the arguments property we have when we are in a function scope.
This property will return the current function being executed right now. In addition we have the caller property that we can use to get a reference to the calling function.Imagine you could even do crazy stuff like getting the caller function and its argument by doing something like:
arguments.callee.caller.arguments[0].
Here for example we are doing something nice:

Not every browser support this property although it was omitted by ECMA