From cd0e8a7d88f935bb08cd741809312a2dcd0b00de Mon Sep 17 00:00:00 2001 From: Savan Chhayani Date: Sun, 30 Jan 2022 22:20:45 +0530 Subject: [PATCH] Update destructuring.ts --- code/es6/destructuring.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/es6/destructuring.ts b/code/es6/destructuring.ts index 8a0366bf0..895236766 100644 --- a/code/es6/destructuring.ts +++ b/code/es6/destructuring.ts @@ -4,7 +4,7 @@ export var destructuring = true; module m1 { var x = 1, y = 2; [x, y] = [y, x]; - console.log(x, y); // 1,2 + console.log(x, y); // 2,1 } module m2 {