If I have many variables with the same property x
, for example,
a.x
b.x
c.x
Can I change the value of x
for all these variables at one time? Something like:
*.x = 200; // Change the value of "x" in every variable that has a property "x" to 200.
Is it possible? And if so, how?