JavaScript erkennen den Raum zurück

myInput.addEventListener('keydown', function(event) {
	if (event.key === "Backspace") {
    	alert("they pressed backspace");
	}
});
Friendly Hawk