
JS Flashcard
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

29 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the purpose of a Promise in JavaScript?
Back
To handle asynchronous operations
2.
FLASHCARD QUESTION
Front
What is the state of a Promise when it is created?
Back
Pending
3.
FLASHCARD QUESTION
Front
Which method is used to handle a successful Promise resolution? Options: catch(), finally(), then(), reject()
Back
then()
4.
FLASHCARD QUESTION
Front
Which method is used to handle a rejected Promise? Options: then(), finally(), catch(), resolve()
Back
catch()
5.
FLASHCARD QUESTION
Front
What does the 'async' keyword do in a function declaration?
Back
Makes the function return a Promise
6.
FLASHCARD QUESTION
Front
What does the 'await' keyword do?
Back
Waits for a Promise to resolve
7.
FLASHCARD QUESTION
Front
What is the JavaScript Event Loop responsible for?
Back
Handling asynchronous callbacks
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
17 questions
Todays Affirmations
Flashcard
•
University
25 questions
IGCSE Computer Science Revision - Paper 1
Flashcard
•
10th Grade
21 questions
Political Parties in the UK
Flashcard
•
12th Grade
21 questions
English
Flashcard
•
KG
19 questions
Criminal Justice Agencies - Multiple Choice Flashcard
Flashcard
•
12th Grade
21 questions
Parts of speech and Morphemes
Flashcard
•
University
24 questions
Spreadsheet Software Concepts
Flashcard
•
12th Grade
28 questions
U3 - R2 - The Industrializtion in Britain
Flashcard
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade