fr
fr

Question from the Javascript - Fundamentals test

Waiting for validation

A component registers a document listener:

function onKeyDown(event) { /* handle keys */ }
document.addEventListener("keydown", onKeyDown);

Which cleanup call removes this registration? Select one answer.

Author: AthosStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!