Quiz
Ultimate Review
Fragen in diesem Quiz (5)
1Hovering over the answer to this question is a DOM event.
- ARichtig
- BFalsch
2Why is it useful to be able to pass one function into another?
- AThis allows you to have more control over when and how a function gets executed.
- BThis allows you an alternative to removeElement when removing an element from the DOM.
- CPassing one function into another is the only way to log messages to the console.
- DPassing in other data types like strings make a function less efficient overall.
3Why are events useful?
- ABecause we can tie behavior to them.
- BBecause they keep a webpage static.
- CBecause they keep us from having to write for loops.
4Why are functions called "first-class citizens" in JavaScript?
- ABecause they can be stored in variables or passed into functions like any other datatype.
- BBecause they were created in a previous language before being brought into JavaScript.
- CBecause they must be used as rarely as possible to keep from polluting the global scope.
5You can set a listener for an event you want to handle on a sibling of the parent of your target element, because of event delegation.
- ARichtig
- BFalsch
Informationen
- Beschreibung
- Quiz am Ultimate Review, erstellt von Scot Pfleghaar am 03/08/2017.
- Autor
- Scot Pfleghaar
- Sprache
- English
- Aufrufe
- 0
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz