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