A variable is a named location for storing a {{Glossary("Value", "value")}}. That way an unpredictable value can be accessed through a predetermined name.
Revision 797101 of Variable
Revision Information
- Revision slug: Glossary/Variable
- Revision title: Variable
- Revision id: 797101
- Created:
- Creator: klez
- Is current revision? No
- Comment removed most of the content because it doesn't belong to the glossary. also, technical review
Tags:
Revision Content
Revision Source
<p>A variable is a named location for storing a {{Glossary("Value", "value")}}. That way an unpredictable value can be accessed through a predetermined name.</p> <h2 id="Learn_more">Learn more</h2> <h3 id="Learn_about_it">Learn about it</h3> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Declarations">Declaring variables in JavaScript</a></li> </ul> <h3 id="Technical_reference">Technical reference</h3> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var"><code>var</code> statement in JavaScript</a></li> </ul>