JavaScript Quiz
1 / 10
What function is used to output data to the console in JavaScript?
2 / 10
How do you declare a variable in JavaScript?
3 / 10
What symbol is used for comments in JavaScript?
4 / 10
Which of the following is NOT a valid data type in JavaScript?
5 / 10
How do you define a function in JavaScript?
6 / 10
What is the purpose of the "addEventListener" method in JavaScript?
7 / 10
Which operator is used for strict equality in JavaScript?
8 / 10
What does the term "callback function" refer to in JavaScript?
9 / 10
What is the purpose of the "let" keyword in JavaScript?
10 / 10
What is the output of the code: console.log(5 + "5")?
console.log(5 + "5")
Your score is
The average score is 55%
Restart quiz