摘要: 1.typeof:返回一个字符串,表示操作数的类型。 语法: typeof(变量) //or typeof 变量 示例: console.log(typeof 2)//number console.log(typeof true)//boolean console.log(typeof 'str') 阅读全文
posted @ 2022-10-08 16:14 爱喝酸奶的吃货 阅读(1552) 评论(0) 推荐(0)