TypeScript: SyntaxError: “Unexpected token” message in console

前端 未结 2 1245
自闭症患者
自闭症患者 2021-01-18 18:14

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] = [         


        
2条回答
提交回复
热议问题