Here i have a JSON object in an array and have it pushed to employeeArray which is
employeeArray =[
[
{
"ID":"967",
"NAME":"Dang, Lance D",
"Email":"Lance.Dang@xyz.com"
}
],
[
{
"ID":"450",
"NAME":"Starnes, Mitch",
"Email":"Mitchell.Starnes@xyz.com"
}
],
[
{
"ID":"499",
"NAME":"Cosby, Lance H",
"Email":"Lance.Cosby@xyz.com"
}
]
];
How do i get this into a single array with JSON objects like this
employeeArray =[
{
"ID":"967",
"NAME":"Dang, Lance D",
"Email":"Lance.Dang@xyz.com"
},
{
"ID":"450",
"NAME":"Starnes, Mitch",
"Email":"Mitchell.Starnes@xyz.com"
},
{
"ID":"499",
"NAME":"Cosby, Lance H",
"Email":"Lance.Cosby@xyz.com"
}
];
help me how to use above two dimensional array values and build my expected array in pure javascript