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