typeof,instanceof的区别,扩展知识:显示原型(prototype)与隐式类型(__protot__)
3.typeof和instanceof区别1.typeof主要用于判断对象类型console.log(typeofnull)//objectconsole.log(typeofundefined)//undefinedconsole.log(typeof[1,2,3])//objectconsole.log(typeofBoolean)//functionconsole.log(typeof1)/