typeof 操作符来检测变量的数据类型。 使用 typeof "John" // 返回string typeof 3.14 // 返回number typeof false // 返回boolean typeof [1,2,3,4] ...
確定! 回上一頁