Fork me on GitHub

Js前端面试题

1.判断js类型的方法 1 typof() 2 可以判断出 string boolean undefiend number 3 但是判断typeof(null) 时值为object ,判断对象数组的时候也是objectObject.prototype.toString.call() 可以判断出所有类
posted @ 2020-04-19 20:12  欢欢11  阅读(388)  评论(0编辑  收藏  举报