文章目录
概述:
TypeScript 程序由以下几个部分组成:
- 模块
- 函数
- 变量
- 语句和表达式
- 注释
第一个typescript程序
文件名:01_hellotest.ts
const helloTest : string = "hello world !!!!"
console.log(helloTest)
以上代码,在程序控制台中,输出“hello world !!!”
我使用的开发环境是VScode;有使用相同开发工具的小伙伴,遇到
微信扫一扫
TypeScript 程序由以下几个部分组成:
文件名:01_hellotest.ts
const helloTest : string = "hello world !!!!"
console.log(helloTest)
以上代码,在程序控制台中,输出“hello world !!!”
我使用的开发环境是VScode;有使用相同开发工具的小伙伴,遇到
相关推荐