数据类型值变化案例:
var num = 15
var num1 = 017 // 1*8+7 = 15
var num2 = 0xf // 15
console.log(num)
console.log(num1)
console.log(num2)
console.log(parseInt(3,8)) // 3
console.log(parseInt(3,2)) // NaN
console.log(parseInt(3,0)) // 3
console.log(parseInt('017',8)) // 15
console.log(parseInt(017,8)) // 13
//转第一次为15,在当成转八进制(15,8)为13,结果为第 二次。
//parseInt('3',8) 八进制转换
// let str = console.log(typeof 'wuwei')
console.log(typeof typeof 'wuwei') //string
// let nul = console.log(typeof null)
console.log(typeof typeof null) //string
var str = console.log(typeof 'wuwei') //string
var nu = console.log(typeof null) //object
console.log(typeof 'wuwei') //string
console.log(typeof null) //object
console.log(typeof str) //undefined
console.log(typeof nu) //undefined