JSFiddle - React, Tailwind, and code Playground
JavaScript
var myData = [{
label: "erster",
id: 0,
Name: "Ein Name"
}, {
label: "zweiter",
id: 1,
Name: "Der zweite Name"
}, {
label: "dritter",
id: 2,
Name: "Dritter Name"
}
];
$.each(myData, function (i, val) {
console.log(i + " " + val.label);
});