オブジェクトについて例を見てみましょう。
const test = {
test1:10,
test2:20,
test3:30
};
console.log(Object.values(test));
for(value of Object.values(test)) {
console.log(value);
}
出力

オブジェクトについて例を見てみましょう。
const test = {
test1:10,
test2:20,
test3:30
};
console.log(Object.values(test));
for(value of Object.values(test)) {
console.log(value);
}
出力