first comit
This commit is contained in:
@@ -3,4 +3,7 @@
|
||||
- soit le tableau `nombres`.
|
||||
- utilisez la méthode `forEach` pour afficher chaque nombre du tableau multiplié par 2.
|
||||
*/
|
||||
const nombres = [10, 20, 30, 40, 50];
|
||||
const nombres = [10, 20, 30, 40, 50];
|
||||
nombres.forEach(function(nombre) {
|
||||
console.log(nombre * 2);
|
||||
});
|
||||
Reference in New Issue
Block a user