My javascript code isn't working. Which of the following option is the most likely reason for this?
const book = _.where( books, { author: "Gustave Flaubert" } );
AJAX & recursion
Quiz
•
Fun
•
Professional Development
•
Medium
Lay Jones
Used 10+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
My javascript code isn't working. Which of the following option is the most likely reason for this?
const book = _.where( books, { author: "Gustave Flaubert" } );
'book' must be 'books'
May have forgotten to include underscore
should be a var, not a const
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which best describes what debouncing and throttling do?
Prevents a function from running again too soon after it has already ran
Directly limits the amount of requests a server is able to receive from you over a given time
reduces the speed of your network
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is FALSE about using an API?
It can get expensive
Makes it easy to get third-party information
Easy to use because they all have great documentation
Security can be a concern
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How would you get to '17' in this example?
const prices = {
fries: 12,
burgers: [{
cheeseburger : 17
}]};
prices.burgers[cheeseburger]
prices.burgers[0].cheeseburger
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is AJAX?
A multipurpose household disinfectant
A set of client-side techniques used to create asynchronous web applications
Asymptomatic Javascript and XML
Magic
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a use case of AJAX ?
A user can drag by using the mouse, rather than clicking on a button e.g. Google Maps
Fuzzy filtering when typing into a search engine
Chat room and messaging
All of the above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Fill in the blank:
In AJAX, there are _______ ready states
1
10
3
4
12 questions
Excel Challenge
Quiz
•
Professional Development
11 questions
UCL
Quiz
•
1st Grade - Professio...
11 questions
Tentang genshin, tapi random
Quiz
•
Professional Development
15 questions
Genshin!!!
Quiz
•
3rd Grade - Professio...
12 questions
Funny Cats 😂
Quiz
•
KG - Professional Dev...
12 questions
Football quiz #1
Quiz
•
KG - Professional Dev...
13 questions
Europe Football Badges
Quiz
•
KG - Professional Dev...
10 questions
Where can I find...?
Quiz
•
Professional Development
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade