Appending A Key Value Pair To A Javascript Object
This is similar to this question. However, I want to add a property to an object but I don't know the name of that property. The scenario is that I have some users connecting to a
Solution 1:
Try this:
users['your key'] = gender;
Post a Comment for "Appending A Key Value Pair To A Javascript Object"