<button id="eeeeID"> 点我啊 </button>
为何下面的代码可以正确运行, 而不会报错呢?
document.getElementById 这样的接口已经没用了么?
eeeeID.addEventListener('click', function(){ alert('hi')});
来源: http://www.qdfuns.com/issue/11999/ded820696de8f913ede1d5ac0a0d56a8.html