JavaScript:Panoya kopyala
function anotherAddEventListener(typeOfEvent, callback) if (eventThatHappened.eventType === typeOfEvent) } anotherAddEventListener("keypress", function(event) );
Arkadaşlar kursta bu kısımı hic anlayamadım. AddEventListener tıklama ve keypress tetikleyicisi olduğunu anlayabildim ancak anotherAddEventListener nasıl kullanılıyor neden kullanılıyor ve ne işe yarıyor kafam basmadı.