Softcode
Learn
Leaderboard
quests
shop
Shop Redeem
quizes
games
videos
feeds
learn dev
🇺🇸
English
Softcode
Code Quiz
javascript
python
html
css
📊 History
Question 1 of 5
Score: 0
basics
Question 1
What is the correct way to declare a variable in JavaScript?
A.
var myVariable = 5;
B.
variable myVariable = 5;
C.
v myVariable = 5;
D.
declare myVariable = 5;
Submit Answer
Back to Games
💡 Text Selection Help
🇺🇸
English