comment utiliser pour en javascript
const array1 = ['a', 'b', 'c'];
for (const element of array1) {
console.log(element);
}
Dark Dunlin
const array1 = ['a', 'b', 'c'];
for (const element of array1) {
console.log(element);
}
for (variable in object) {
statement
}