Skip to content
Snippets Groups Projects
Commit e3775725 authored by HUET Severin's avatar HUET Severin
Browse files

code exercice 4

parent a153fbcf
Loading
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);
\ 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