A
Aaron Gray
Given :-
function Test( v1, v2)
{
this.V1 = v1;
this.V2 = v2;
}
var t = new Test( "x", "y");
Besides making "x" "t" is there anyway that t can get its own name, not the
class name but its own name ?
AFAICT there is no way to do this other than to pass its own name through
as a parameter.
Aaron
function Test( v1, v2)
{
this.V1 = v1;
this.V2 = v2;
}
var t = new Test( "x", "y");
Besides making "x" "t" is there anyway that t can get its own name, not the
class name but its own name ?
AFAICT there is no way to do this other than to pass its own name through
as a parameter.
Aaron