摘要:
This is an artifact of the way the Javascript console works when you log an object. The log doesn't contain a copy of all the object properties, it ju 阅读全文
摘要:
js中的event对象包含很多有用的信息 target:触发事件的元素。 currentTarget:事件绑定的元素。 两者在没有冒泡的情况下,是一样的值,但在用了事件委托的情况下,就不一样了,例如: 阅读全文