const obj = {
"0":"vv",
"1":12,
"2":"male",
"3":123456,
length:4
}
const arr = Array.from(obj);
console.log(arr); // ['vv', 12, 'male', 123456]
for (const item of arr) {
console.log(item);
}
const obj = {
"0":"vv",
"1":12,
"2":"male",
"3":123456,
length:4
}
const arr = Array.from(obj);
console.log(arr); // ['vv', 12, 'male', 123456]
for (const item of arr) {
console.log(item);
}