From b2c2b440dbd21f7f79e1e9f421b11ef979aae46e Mon Sep 17 00:00:00 2001 From: TIRONI Baptiste <baptiste.tironi8@etu.univ-lorraine.fr> Date: Thu, 3 Apr 2025 14:02:59 +0000 Subject: [PATCH] ex1 --- Untitled-1.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Untitled-1.ts b/Untitled-1.ts index e69de29..38c0def 100644 --- a/Untitled-1.ts +++ b/Untitled-1.ts @@ -0,0 +1,9 @@ +function deb1(): number { + let j = 200; + let tab: number[] = []; + for (let i = 0; i < 10; i++) { + j -= 10; + tab.push(j); + } + return j; +} \ No newline at end of file -- GitLab