
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
Create a free account and access millions of resources
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
20 questions
Summit 2 Unit 3 Flashcard
Flashcard
•
University
17 questions
Cultural Studies and Cultural Politics Vocabulary Flashcards
Flashcard
•
University
27 questions
National 5 Business Management Exam Revision 2022
Flashcard
•
10th - 12th Grade
20 questions
Culinary Terms and Ingredients
Flashcard
•
KG - University
24 questions
A Christmas Carol; stave one.
Flashcard
•
10th Grade
30 questions
EFFECTIVE COMMUNICATION (ENGLISH FOR COMMUNICATION 2022)
Flashcard
•
University
20 questions
Flashcard on Language Features and Functions
Flashcard
•
12th Grade - University
20 questions
Readings Philippine History
Flashcard
•
KG - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade