• JavaScript Fundamentals Quiz

    Test your knowledge of JavaScript basics. Please answer all questions to the best of your ability.
  • Which keyword is used to declare a variable in JavaScript?*
  • What is the output of the following code? console.log(typeof null);*
  • Select all valid JavaScript data types:*
  • The statement is used to exit a loop early in JavaScript.

  • Which of the following is the correct way to write a function in JavaScript?*
  • What will be logged to the console? let arr = [1,2,3]; console.log(arr[1]);*
  • Which of these is NOT a JavaScript loop structure?*
  • Rows
  • Should be Empty:
Select theme:
  • Default
  • Blue
  • Red
  • Brown
  • Green
  • Black
  • Pink
  • Dark Blue
  • Purple