Cannot redeclare block-scoped variable 'name' In TypeScript

后端 未结 3 1018
天命终不由人
天命终不由人 2021-02-12 17:38

Hi I am learning typescript.

I have in my code.

var name:string=\"Hello world\";
console.log(name);

while compile time I am getting thi

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