JS quiz

A vibrant and engaging illustration depicting a person thinking deeply while surrounded by code snippets and JavaScript symbols, in a modern digital art style.

JavaScript Mastery Quiz

Test your knowledge of JavaScript with our engaging quiz designed for developers of all skill levels! Whether you're a beginner or an expert, this quiz will challenge your understanding of important JavaScript concepts.

  • 11 challenging questions
  • Multiple choice format
  • Instant results
11 Questions3 MinutesCreated by CodingWizard57
Enter you Small Footprint e-mail address
What will this code log to the console?
Null undefined undefined
Undefined undefined f b() {}
It will throw an exception
Undefined f b() {} undefined
What will this code log to the console?
1
Undefined
It will throw an exception
None of the other options
What will this code log to the console?
None of the other options
Local
Global
Undefined
What will this code log to the console?
Undefined
It will throw an exception
1
2
What will this code log to the console?
False
True
How about this one?
False
True
What will the following code log to the console?
'false true' on the first line and 'true false' on the first line
'false false' on the first line and 'true false' on the first line
Nothing, the processor will catch fire trying to figure it out.
Fill in the blanks in the following statement: The ______ in a function is determined by the way the function is invoked, while the ______ is determined by where the function was lexically declared.
1st blank - scope 2nd blank - value of 'this'
1st blank - value of 'this' 2nd blank - scope
Is the following statement true or false: "In JavaScript, the name of the function needs to start with an uppercase letter (eg. Foo) in order to be invoked as a constructor (eg. new Foo())" ?
True
False
Is the following statement true or false: "When invoked as a constructor, a function will return an object, even if the function has no return statement at all"?
True
False
{"name":"JS quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of JavaScript with our engaging quiz designed for developers of all skill levels! Whether you're a beginner or an expert, this quiz will challenge your understanding of important JavaScript concepts.11 challenging questionsMultiple choice formatInstant results","img":"https:/images/course8.png"}
Powered by: Quiz Maker