
JavaScript & ES6 Quiz

Quiz
•
Computers
•
University
•
Medium
Karnam Bharath
Used 2+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of typeof null in JavaScript?
"null"
"object"
"undefined"
"number"
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is a feature of ES6?
var declarations
Arrow functions
with statements
Function hoisting
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the let keyword do in JavaScript?
Declares a variable with global scope
Declares a block-scoped variable
Declares a constant variable
Declares a variable hoisted to the top
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to merge two or more arrays in JavaScript?
merge()
concat()
append()
combine()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is a pure function?
A function that modifies global variables
A function that returns different outputs for the same inputs
A function with no side effects and consistent outputs
A function that relies on external state
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the map() function do in JavaScript?
Filters elements in an array
Reduces an array to a single value
Transforms each element in an array
Finds the first matching element
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a higher-order function?
parseInt()
setTimeout()
Math.random()
JSON.stringify()
Create a free account and access millions of resources
Similar Resources on Wayground
42 questions
uts web_polgri

Quiz
•
University
40 questions
HCI Quiz No 01

Quiz
•
University
35 questions
Итоговый тест

Quiz
•
University
40 questions
Programming Languages and Compilers Quiz

Quiz
•
University
40 questions
UAS Web Desain

Quiz
•
University
35 questions
CS Basics

Quiz
•
4th Grade - University
40 questions
Latihan 1 PBO XI RPL 2

Quiz
•
10th Grade - University
44 questions
Métodos de Traducción de Código

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University