Hi
The following code works in FF, Chrome, Opera but not in IE8 (IE error:
"Object doesn't support this action"). Is there any workaround? I want to be
able to get all the members of a function prototype without using “new
Obj()”:
var Obj = function(){};
Obj.prototype.someMethod = function() { };
for(item in Obj.prototype){
// code…
}
Regards
Anders
--
To view archived discussions from the original JSMentors Mailman list:
http://www.mail-archive.com/[email protected]/
To search via a non-Google archive, visit here:
http://www.mail-archive.com/[email protected]/
To unsubscribe from this group, send email to
[email protected]