
JS-ES6

Quiz
•
Computers
•
•
Hard
Vũ Long
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Cuestionario de Certificación JS 2024

Quiz
•
12th Grade
11 questions
JavaScript

Quiz
•
Professional Development
16 questions
Data Storage and Collection Quiz 1

Quiz
•
9th Grade
12 questions
JavaScript Quiz

Quiz
•
University
17 questions
Java Basics

Quiz
•
Professional Development
20 questions
Advanced JavaScript

Quiz
•
Professional Development
20 questions
JavaScript Quiz

Quiz
•
11th Grade
11 questions
Array

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade