From 85c181198bfeb99a7bc86ae0e9367e1e8c308f59 Mon Sep 17 00:00:00 2001
From: MALLINGER Robin <robin.mallinger1@etu.univ-lorraine.fr>
Date: Mon, 31 Mar 2025 09:59:52 +0200
Subject: [PATCH] corrdction_bug

---
 exo4.ts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/exo4.ts b/exo4.ts
index e69de29..9c970c3 100644
--- a/exo4.ts
+++ b/exo4.ts
@@ -0,0 +1,10 @@
+function deb3(xy: number[]): void {
+    xy[0] = 100;
+    xy[1] = 200;
+
+    console.log(xy);
+}
+
+let xy = [10, 20];
+deb3(xy);
+console.log(xy);
\ No newline at end of file
-- 
GitLab