Could you provide instructions on how to populate this element as an array?
testdata = [
{
key: "one",
y: 200
},
{
key: "two",
y: 300
}
];
For example:
testdata=[];
testdata[]="one";
testdata[]="two";