JavaScript
Quiz
•
Education
•
1st - 12th Grade
•
Practice Problem
•
Hard
Богдан Левантович
Used 5+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How to get access to number 8 in the following array?
const arr = [[1, 2, 3], [[5, 6, 7, 8], 9]]
arr[[[1,0,3]]]
arr[1][0][3]
arr[1,0,3]
arr[1[0[3]]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the result of this?
const a = 20;
a = 10;
console.log(a)
10
20
it would throw an error
undefined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
function getSum(a, b) {
console.log(a + b);
}
const result = getSum(10, 20);
console.log(result);
30
undefined
0
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does map function return?
undefined
number
string
array
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How to access property name on the object?
const country = {
name: 'Italy',
population: 59550000
};
country,name
country.name
country['name']
country{name}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the following comparison produce?
2 == "2"
true
false
undefined
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Guess the result of this:
{foo: 'bar'} === {foo: 'bar'}
true
false
I haven't learned it yet!
undefined
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Kata Perintah
Quiz
•
5th Grade
15 questions
Javascript-react-redux
Quiz
•
1st - 5th Grade
15 questions
Общие сведения о языке программирования Python
Quiz
•
5th Grade
10 questions
Ch. 9 Intro To Python: Lesson 9-6 Dictionaries
Quiz
•
9th - 12th Grade
11 questions
Défense d'entrer 25
Quiz
•
1st Grade
7 questions
الدوال الخطية العكسية
Quiz
•
9th Grade
10 questions
Moringa JavaScript Arrays
Quiz
•
5th Grade - Professio...
11 questions
Python. Умови та цикли
Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
