TypeScript笔记十一
/**
* Created by ufo9631 on 2017/5/25.
*/
var name:string;
function test1()
{
let name:string;
name="Hello world";
console.log(name);
}
test1();
/**
* Created by ufo9631 on 2017/5/25.
*/
var name:string;
function test1()
{
let name:string;
name="Hello world";
console.log(name);
}
test1();