clique repetido Javascript

function keyDown (e) {
  if (e.repeat) return;
  
  console.log(e)
}
Yosia Agustadewa