diff --git a/Untitled-1.ts b/Untitled-1.ts index 38c0defcba35050a2f29db17454c914bcbefbe01..42099026a11fb3d68346f13ba985ae2e54a8bded 100644 --- a/Untitled-1.ts +++ b/Untitled-1.ts @@ -6,4 +6,11 @@ function deb1(): number { tab.push(j); } return j; +} + +function deb2(x: number, y: number) : void { + const tmp = y; + y = x; + x = tmp; + console. log(x, y); } \ No newline at end of file