Test your JavsScript output knowledge
Welcome to the JavsScript Output Quiz! This quiz will test your understanding of JavsScript output. Whether you are preparing for a job interview or simply want to sharpen your skills, this quiz is a great way to challenge yourself.
Instructions
- Read each question carefully
- Choose the correct output from the options provided
- Once you have selected your answer, click the “Submit” button to see if you are correct
Quiz Questions
1. What will be the output of the following code?
console.log(10 + 20 + "30");
2. What will be the output of the following code?
for(var i = 0; i < 5; i++) {
setTimeout(function() {
console.log(i);
}, 1000);
}