There's the dot notation and the bracket notation
myObj[a] = b;
1.4m articles
1.4m replys
5 comments
56.9k users