window.onmousedown = function(mouseEvent) { console.log(mouseEvent.clickTime); //<- Error };