mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-19 09:02:35 -05:00
* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
446 B
446 B
title
| title |
|---|
| Declare String Variables |
Declare String Variables
Hints
Hint 1
In JavaScript, variables are dynamic. That means they can hold numbers, strings, or any other data type at a given time. To declare a string, simply initialize (create) a variable:
var a;
Then, using single or double quotation marks, declare the string:
a = "Hello Camper!";