javascript - push object into array - Stack Overflow
https://stackoverflow.com/questions/40250139/push-object-into-array
Oct 26, 2016 · If your array of object is already empty, make sure it has at least one object, or that object in which you are going to push data to. Let's say, our array is myArray[], so this is now empty array, the JS engine does not know what type of data does it have, not string, not object, not number nothing. So, we are going to push an object (maybe ...
DA: 77 PA: 19 MOZ Rank: 6