大家的数据类型
console.log (typeof (null)); ——object
console.log (typeof (undefined)); ——undefined
console.log (typeof (NaN)); ——number
-----------------------------------------------------------
var str = “syr1993”;
console.log (typeof (str++)); ——number
-----------------------------------------------------------
var str = “syr1993”;
console.log (typeof (str)); ——string
时间: 2024-11-05 12:35:16