if we have :
function parent(){
function a(){
return 'i am a';
}
function b(){
return 'i am b';
}
function c(e,f){
console.log(e+f);
}
c(a(),b());
}
Any built-in method that retrieves name of nested functions: a,b,c . Let say :
parent.closures()
// ['a','b','c']
}