有没有功能可用于列出 node.js 中当前定义的所有函数?我想创建一个类似这样的函数:
function getAllDefinedFunctions(){
//return all the functions that are currently defined
}
function getAllDefinedFunctions(){
//return all the functions that are currently defined
}