案例

oBtn.onclick = function() {
	console.log('click');
}
oBtn.onmousedown = function() {
	console.log('down');
}
oBtn.onmouseup = function() {
	console.log('up');
}

// down
// up
// click

事件的执行顺序