Answer the question
In order to leave comments, you need to log in
Why js throws an error, but at the same time quietly displays the necessary data?
var dat = JSON.parse(datadel);
var lbls = new Array();
for (var i = 0; i<= dat.length; i++) {
lbls[i] = dat[i]['name'];
console.log(lbls[i]);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question