Quiz
Ultimate Review
Perguntas do quiz (5)
1Hovering over the answer to this question is a DOM event.
- AVerdadeiro
- BFalso
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.
- AVerdadeiro
- BFalso
Informações
- Descrição
- Quiz sobre Ultimate Review, criado por Scot Pfleghaar em 03-08-2017.
- Autor
- Scot Pfleghaar
- Idioma
- English
- Visualizações
- 0
- Avaliação
- Ainda sem avaliações Avalie este quiz