MergeSociety
Projects
HTML
CSS
JavaScript
React
video
Blog
JavaScript Basics - Question 1 of 30
What is the correct way to declare a variable in modern JavaScript?
var x = 5;
let x = 5;
both var and let
variable x = 5;
Score: 0
Progress: 3%