04-04-2023, 07:42 AM
Code:
const fruits =
[
"Banana",
"Orange",
"Apple",
"Mango"
];
const f = fruits.entries();
for(let x of f)
{
document.getElementById("demo").innerHTML += x;
}
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos