Skip to content
Snippets Groups Projects
Commit fa3ce89a authored by Aurélien's avatar Aurélien
Browse files

Ex6 p1

parent 26611f62
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);
/* tab1 et tab2 pointent vers le même tableau donc modifier tab 1 modifie tab2 */
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment