Why this code doesn\'t work?
I have the following app.ts
var a = 1; var b = 3; console.log(`Before a = ${a}, b = ${b}`); [a, b] = [
You need to compile your code first.
tsc app.ts
Then run it with
node app.js