From 6c7980ee5364e7984352af0a9e69f64368c07522 Mon Sep 17 00:00:00 2001
From: MALLINGER Robin <robin.mallinger1@etu.univ-lorraine.fr>
Date: Sun, 30 Mar 2025 15:42:52 +0200
Subject: [PATCH] ajout de l'exercice 6

---
 exo6.ts | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 exo6.ts

diff --git a/exo6.ts b/exo6.ts
new file mode 100644
index 0000000..9e6fa3f
--- /dev/null
+++ b/exo6.ts
@@ -0,0 +1,6 @@
+let tab1 = [1, 2, 3];
+let tab2 = [...tab1];
+
+tab1[1] = 5;
+
+console.log(tab1, tab2);
-- 
GitLab