So lets say I\'ve added some prototype methods to the Array class:
Array.prototype.containsKey = function(obj) { for(var key in this) if (key =
you could do this:
for(var key in arr) { if (typeof(arr[key]) == "function") continue; alert(key); }
But that's a shoddy workaround