TypeScript笔记十一

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

  

posted @ 2017-11-15 22:55  编程猴子  阅读(107)  评论(0编辑  收藏  举报