
JavaScript and React Quiz
Quiz
•
Other
•
University
•
Practice Problem
•
Easy
Gnaneshwar Reddy
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: var x = 1; function foo() { var x = 2; function bar() { console.log(x); } return bar; } var baz = foo(); baz();
1
2
undefined
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: var x = [1, 2, 3]; var y = x.slice(1); console.log(y);
[1, 2]
[2, 3]
[1, 3]
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: var x = 5; console.log(++x);
5
6
NaN
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: var x = true; var y = false; console.log(x || y);
true
false
null
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: console.log(typeof null);
"null"
"object"
"undefined"
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is React.js?
A JavaScript framework
A JavaScript library for building user interfaces
A CSS library
A database
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed React.js?
Microsoft
Apple
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
10 questions
Tokens Lexeme and Pattern
Quiz
•
University
10 questions
Kế toán chi phí - C4 - Q2
Quiz
•
University
15 questions
Aleatório
Quiz
•
University
10 questions
Quiz vettori
Quiz
•
University
8 questions
Cuánto conoces sobre Mina (TWICE)?
Quiz
•
7th Grade - Professio...
14 questions
Prova
Quiz
•
University
10 questions
Study Quest KSU STC initiative
Quiz
•
University
10 questions
Ley federal del trabajo articulo 153.
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
