SyntaxFix
Write A Post
Hire A Developer
Questions
Try this instead:
var myArray = []; myArray.push({ id: 0, value: 1 }); myArray.push({ id: 2, value: 3 });
or will this not work for your situation?