//字符串类型
let str:string = '123'
let muban:string = `web ${str}`
console.log(muban, '字符串类型')
//数字类型
let num:number = 123
console.log(num, '数字类型')
//布尔类型
let b:boolean = false
console.log(b, '布尔类型')
//undefined,null
let u:undefined = undefined
let n:null = null
console.log(u, n, 'undefined, null')
//空值
function fnVoid():void {
console.log('空值')
}
fnVoid()