Loop JavaScript melalui kumpulan objek

const arr = [1,2,3];

for (const num of arr) {
  console.log(num);
}
Javian Picardo