Subj : Can a JS object determine its own variable name? To : netscape.public.mozilla.jseng From : Mark Turansky Date : Wed Jul 20 2005 09:44 am Can i create a function in the, say, String prototype that can access its own variable name? var username = new String("myvalue"); String.prototype.getVariableName = function(){ // possible to determine the variable name "username" here? } Thanks, Mark .