0

im trying to create a method that can update the value of different variables. here, "a" would be a string containing the name of the variable that i want to change the value of.

varupdate(a,b) {

this.a += b; }

0 Answers0