摘要:
1.实现typeof方法 function myTypeof(obj){ let reg = /\s(\w+)/ //Object.prototype.toString.call()返回[object 类型],根据返回建立匹配规则 let result = reg.exec(Object.proto 阅读全文
posted @ 2021-03-10 15:04
xiaoxu1024
阅读(54)
评论(0)
推荐(0)
摘要:
JavaScript常见面试题,原生实现call方法、apply方法和bind方法。这三个方法通常用来改变函数的this指向 阅读全文
posted @ 2021-03-10 14:29
xiaoxu1024
阅读(30)
评论(0)
推荐(0)

浙公网安备 33010602011771号