虾皮(二面)
给两段效果上都可以实现继承的代码,说出差异
function child() {}
function parent() {}
child.prototype.__proto__ = parent.prototype
child.prototype = new parent()
this 输出问题
如何监听 html 外链资源加载失败
Mutation Observer、Intersection Observer 使用场景
127.0.0.1 和 0.0.0.0 差别(一个只能通过 localhost ,另一个可以通过本机 ip 或者 localhost
都可以)
