I have a list with three empty objects like:
TimePickerList =[{},{},{}];
For example, I want to add 1 and 2 to the first argument of this list like this:
TimePickerList[0].push("1") // I know it's wrong and I can't use push like this.
TimePickerList[0].push("2")
And i want to get this:
TimePickerList =[{"1","2"},{},{}];
Is there any way to do this? I mean, can I update an argument's value?