Can someone help me create a prototype like this:
Array.prototype.getName=function(){ [...]return arrayName; }
Then I want to be able to do this:
x = new Array;
alert(x.name);
and have "x" displayed in the alert.
I'm currently developing on Chrome and I've noticed that caller/callee functions are returning empty values.