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 {