javascript écouter pour double clic

const div = document.querySelector('div');

div.addEventListener('dblclick', () => {
	alert('You just double clicked the div!');
});
DCmax1k