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

code exercice 3

parent 3f72fdee
No related branches found
No related tags found
No related merge requests found
function deb2(x: number, y: number): void {
const tmp = y;
y = x;
x = tmp;
console.log(x, y);
}
let x = 10;
let y = 20;
deb2(x, y);
console.log(x,y);
\ 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