Is it possible to get a list of the user defined functions in JavaScript?
I\'m currently using this, but it returns functions which aren\'t user defined:
<
Using Internet Explorer:
var objs = []; var thing = { makeGreeting: function(text) { return 'Hello ' + text + '!'; } } for (var obj in window){window.hasOwnProperty(obj) && typeof window[obj] === 'function')objs.push(obj)};
Fails to report 'thing'.