I want to retrieve the variable name that I just created without passing it as an argument.
Eg:
Var ObjName = function(hello) {
...
}
Var something = new ObjName(66)
How do I get the new variable to return it’s own declared name? Eg: something.this.name returns “something”.
As a side note, I’m not looking for something.constructor.name. I hope this makes sense. Thank you!