how can I push data into an array in js if it's type is likw this... d= [[label, value]]. At first I want to push the label data then the values.... I get the data from an xml file. If I had only a simple array I used the simple variable.push sintax. Will varialble[][0].push or variable[][1].push work
You could do like this:
var d = [];
d.push([label, value]);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With