摘要: 检测原始值 若检测一个值是字符串、数字、布尔值或undefined,选择使用typeof运算符 对于字符串,typeof返回"string" 对于数字,typeof返回"number" 对于布尔值,typeof返回"boolean" 对于undefind,typeof返回"undefind" typ 阅读全文
posted @ 2020-07-19 16:47 谬论结局 阅读(152) 评论(0) 推荐(0) 编辑