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
35 questions
Totally Random Trivia
Quiz
•
5th - 8th Grade
36 questions
Goods vs. Services & Producers vs. Consumers
Quiz
•
6th - 8th Grade
45 questions
แบบทดสอบวิชาไมโครคอนโทรลเลอร์
Quiz
•
KG - Professional Dev...
45 questions
Reading By Design: Volume 5 Lesson 32 Review
Quiz
•
6th - 8th Grade
39 questions
Викторина без названия
Quiz
•
2nd Grade - University
35 questions
Python Basics
Quiz
•
6th - 8th Grade
40 questions
PKN PSTS Kelas 8
Quiz
•
8th Grade
40 questions
Programação e Robótica - 8 Ano - Aula 2
Quiz
•
8th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
17 questions
guess the logo
Quiz
•
8th Grade
16 questions
Function or Non-Function?
Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons
Quiz
•
8th Grade