You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
491 B
18 lines
491 B
4 years ago
|
*Complete this quiz after the lesson by checking one answer per question.*
|
||
|
|
||
|
1. [The DOM is a model to represent a document on the web]
|
||
|
|
||
|
- [ ] [true]
|
||
|
- [ ] [false]
|
||
|
|
||
|
2. [Use JavaScript closures to perform the following:]
|
||
|
|
||
|
- [ ] [write functions within functions]
|
||
|
- [ ] [enclose the DOM]
|
||
|
- [ ] [close script blocks]
|
||
|
|
||
|
3. [Fill in the blank: Closures are useful when one or more functions need to access an outer function's ______]
|
||
|
|
||
|
- [ ] [arrays]
|
||
|
- [ ] [scope]
|
||
|
- [ ] [functions]
|