Question: Do you know what will be the output of this code?
Sual: Bu kodun nəticəsinin nə olacağını bilirsinizmi?
console.log(typeof typeof 1 );
js Quiz
Quiz
•
Other
•
8th Grade
•
Hard
Ebulfez Seferov
Used 1+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Question: Do you know what will be the output of this code?
Sual: Bu kodun nəticəsinin nə olacağını bilirsinizmi?
console.log(typeof typeof 1 );
String
number
1
true
Answer explanation
This actually returns "string".
This expression is evaluated from right to left.
The first sub-expression evaluated actually is typeof 1 which will return "number".
Only after that the next sub-expression is evaluated which now is typeof "number" which returns "string".
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Question: Do you know what will be the output of this code?
let array=[1,2,3];
array[6]=9;
console.log(array[5]);
Sual: Bu kodun nəticəsinin nə olacağını bilirsin
undefined
1
2
9
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Question: Can you guess what will be the output of the code below?
console.log(typeof NaN);
Sual: Aşağıdakı kodun nəticəsinin nə olacağını təxmin edə bilərsinizmi?
NaN
number
null
undefined
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Question: Do you know what will be the output of this code?
console.log(false=='0');
Bu kodun nəticəsinin nə olacağını bilirsinizmi?
false
true
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Question: Do you know what will be the output of this code?
console.log("This is a string." instanceof String);
Bu kodun nəticəsinin nə olacağını bilirsinizmi
true
false
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Question: Do you know what will be the output of this code?
const numbers = [33, 2, 8];
numbers.sort();
console.log(numbers[1])
Bu kodun nəticəsinin nə olacağını bilirsinizmi?
33
2
8
1
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
If you type the following code in the console window, what result will you get?
3 > 2 > 1 === false;
Konsol pəncərəsində aşağıdakı kodu yazsanız, hansı nəticəni əldə edəcəksiniz?
true
false
45 questions
Second Grade Weekly Assessment
Quiz
•
8th Grade
37 questions
Video Game Knowlege Quiz
Quiz
•
4th - 12th Grade
35 questions
Totally Random Trivia
Quiz
•
5th - 8th Grade
36 questions
Goods vs. Services & Producers vs. Consumers
Quiz
•
6th - 8th Grade
37 questions
Color and Typography
Quiz
•
6th - 8th Grade
35 questions
kelas 8 mapel pkn bab 5 dan 4
Quiz
•
8th Grade
43 questions
Exponents/Polynomials/RandoTrivia
Quiz
•
8th - 9th Grade
44 questions
Minecraft
Quiz
•
KG - Professional Dev...
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
6 questions
Earth's energy budget and the greenhouse effect
Lesson
•
6th - 8th Grade
15 questions
SMART Goals
Quiz
•
8th - 12th Grade
20 questions
Lesson: Slope and Y-intercept from a graph
Quiz
•
8th Grade