normc
|
 |
« on: December 18, 2012, 09:54:39 » |
|
I'd like set the value of a proxy's instance variable to that of a static member of same class e.g.: //JavaScript Port
instance_var: { prop_name: this.constructor.STATIC_VAR},
As shown, I'm building an object that will have more props...that's why I'm doing it this way. But the "prop_name" value is undefined when queried later. Is there a way to do this?
Thanks NormC
|