Which of the following keywords are used to define a variable in JavaScript?

@Devtools Tech

A variable is a “named storage” for data. We can use variables to store different types of data.

Option 1
var
Option 2
let
Option 3
const
Option 4
All of the above
Option 5
None of the above
Do you see value in our efforts?

Devtools Tech is a free platform for Frontend Engineers. It takes a lot of time, effort, and finanical resources to keep the platform running. If you see any value in our work and would like to support us then you can do using the following options.

InternationalDomestic