hackftz

bits change world

2020年9月28日

摘要: 一、布尔 let isDone: boolean = false 二、数字 TypeScript里的所有数字都是浮点数。 这些浮点数的类型是 number。支持二、八、十、十六进制。 let decLiteral: number = 6; let hexLiteral: number = 0xf00 阅读全文

posted @ 2020-09-28 18:26 hackftz 阅读(86) 评论(0) 推荐(0) 编辑