typeof有两种用法
1.typeof(表达式)
console.log(typeof(true)) // boolean
2.typeof 参数
console.log(typeof 123) // number
都是直接返回运算符的结果类型
typeof有两种用法
1.typeof(表达式)
console.log(typeof(true)) // boolean
2.typeof 参数
console.log(typeof 123) // number
都是直接返回运算符的结果类型