instanceof typeof

instanceof填坑数组 说instanceof就不得不顺带说一下typeof,请跟着。函数     typeof测试 typeof操做符返回一个字符串,表示未经计算的操做数的类型。prototype 就这么几种类型:number、boolean、string、object、undefined、function、symbol。code typeof 1 // "number"对象 typeof
相关文章
相关标签/搜索