I am trying to store data for many organizations, so I thought it was a good way to organize As I did in AS3, it was used to store the array methods according to any other variable such as
StoreInventories.Shellys
and then as necessary.
Example:
StoreInventories.Shellys.push ("Content")
But for this to work Looks like,
Type error: StoreInventories.Shellys.push is not a function
that console keeps spitting out How do I get this functionality should do?
Sorry, if I am misusing rules - jargon is not my strong suit and I go through any formal training.
Method Push () is defined for array class. So you need to create an array for the first time.
Here's the code:
var StoreInventories = {}; Store Inventory Cellies = []; StoreInventories.Shellys.push ("Content");
No comments:
Post a Comment