From ba9afcffbfba2b4b5bc812b1f44ec4f4f64f7bf2 Mon Sep 17 00:00:00 2001 From: TIRONI Baptiste <baptiste.tironi8@etu.univ-lorraine.fr> Date: Thu, 3 Apr 2025 14:03:16 +0000 Subject: [PATCH] Update file Untitled-1.ts --- Untitled-1.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Untitled-1.ts b/Untitled-1.ts index 38c0def..4209902 100644 --- a/Untitled-1.ts +++ b/Untitled-1.ts @@ -6,4 +6,11 @@ function deb1(): number { tab.push(j); } return j; +} + +function deb2(x: number, y: number) : void { + const tmp = y; + y = x; + x = tmp; + console. log(x, y); } \ No newline at end of file -- GitLab