js操作符总结

1:typeof  它可以用来判断类型, 用法如下图, 但是返回值只有string number onject undefined几种  对于null和arr返回的都是object 2:instanceof
相关文章
相关标签/搜索