From 1be825bf5d08f886259477d4b6bea4090a15d99f Mon Sep 17 00:00:00 2001 From: MALLINGER Robin <robin.mallinger1@etu.univ-lorraine.fr> Date: Mon, 31 Mar 2025 09:59:13 +0200 Subject: [PATCH] refresh --- exo5.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/exo5.ts b/exo5.ts index e69de29..26f3b71 100644 --- a/exo5.ts +++ b/exo5.ts @@ -0,0 +1,20 @@ +let j = 10; +console.log(j); + +deb4(); + +console.log( j); + +function deb4(): number { + + let j = 25; + console.log( j); + + for (let i = 0; i < 10; i++) { + + let j = 2 * i; + console.log(i,j); + } + + return j; +} \ No newline at end of file -- GitLab