
JS-ES6
Authored by Vũ Long
Computers
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When was JavaScript created?
1997
2009
1998
1995
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a transpiler in JavaScript?
To downgrade the source code to support older browsers
To convert JavaScript code to a different language
To compress the JavaScript code
To upgrade the source code to support newer browsers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for an arrow function in ES6?
function myFunction() => {}
() => {}
function myFunction() {}
function myFunction() => {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of scope does ES6 introduce?
Local scope
Function scope
Block scope
Global scope
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the spread operator in JavaScript?
To support functions with a variable number of parameters
To calculate the minimum of an array
To convert an array to a list of parameters
To combine two arrays into one
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the rest parameter differ from the spread operator?
The rest parameter is used to combine two arrays into one
The rest parameter is used to have a fixed number of parameters and a variable number of parameters combined
The spread operator is used to support functions with a variable number of parameters
The spread operator is used to convert an array to a list of parameters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of destructuring in JavaScript?
To combine two objects into one
To support old browsers with transpiler
To extract values from a data structure and assign them to variables
To convert an array to a list of parameters
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
12 questions
Error Codes Vocabulary
Quiz
•
Professional Development
20 questions
Quiz Pertemuan 5 Kelas 6
Quiz
•
6th Grade
10 questions
E-Waste
Quiz
•
3rd Grade
20 questions
Python spr
Quiz
•
1st - 5th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
10 questions
TYPES OF COMPUTER
Quiz
•
3rd - 4th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
8-klass 2-sherek
Quiz
•
8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade