Skip to content
Snippets Groups Projects
Commit 6f91cba6 authored by GAUZERE Julien's avatar GAUZERE Julien
Browse files

Delete TP.ts

parent aa5cb333
Branches
Tags
No related merge requests found
function deb3(xy: number[]) : void {
let tmp= xy[0] ;
xy [0] = xy[1];
xy [1] = tmp;
console. log(xy);
}
let xy= [10, 20];
deb3(xy);
console. log(xy);
//Le programme fonctionne correctement si on ne modifie pas la référence du tableau
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment