Skip to content
Snippets Groups Projects
Commit ee4f907f authored by FUSCIELLO Baptiste's avatar FUSCIELLO Baptiste
Browse files

ajout de l'exercice 6

parent 5a56d0f6
No related branches found
No related tags found
No related merge requests found
let tab1 = [1, 2, 3];
let tab2 = [...tab1];
tab1[1] = 5;
console.log(tab1, tab2);
\ No newline at end of file
let tab1 = [1, 2, 3];
let tab2 = tab1;
tab1[1] = 5;
console.log(tab1, tab2);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment