what about:
function allFunctions(scope) {
var funcNames = [];
for (var property in scope)
if (typeof(scope[property]) == 'function')
funcNames.push(property);
return funcNames;
}? On Mar 21, 3:28 am, [email protected] wrote: > Is it possible to get all the functions in a given scope? > Thanks & Regards, > - Hitesh _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
