摘要: js 判断各种数据类型 了解js的都知道, 有个typeof 用来判断各种数据类型,有两种写法:typeof xxx ,typeof(xxx) 如下实例: typeof 2 输出 number typeof null 输出 object typeof {} 输出 object typeof [] 输 阅读全文
posted @ 2018-10-25 14:33 半亩方塘dd 阅读(194) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/68e41dcb8361 1. 阅读全文
posted @ 2018-10-25 10:15 半亩方塘dd 阅读(172) 评论(0) 推荐(0)