first comit

This commit is contained in:
Johan
2025-12-15 15:16:03 +01:00
parent 9db552c24f
commit 0daf9c7163
8 changed files with 38 additions and 7 deletions

View File

@@ -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);
});