Question · JavaScript and TypeScript course · Module 1: JavaScript Basics

Variables in JavaScript

What is a variable in JavaScript?

Answer options

  • A function that performs calculations
  • A mathematical constant
  • A DOM object
  • A container for storing values
Show the answer

Correct answer:

  • A container for storing values