Type is a characteristic of a {{glossary("value")}} affecting which operations on that value are valid. For example, an integer can be multiplied by an integer, but not by a string.
Revision 787012 of Type
Revision Information
- Revision slug: Glossary/Type
- Revision title: Type
- Revision id: 787012
- Created:
- Creator: Andrew_Pfeiffer
- Is current revision? No
- Comment
Tags:
Revision Content
Revision Source
<p><strong>Type</strong> is a characteristic of a {{glossary("value")}} affecting which operations on that value are valid. For example, an integer can be multiplied by an integer, but not by a string.</p> <h2 id="Learn_more">Learn more</h2> <h3 id="Learn_about_types">Learn about types</h3> <ul> <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures">Data types in JavaScript</a></li> </ul> <h3 id="General_knowledge">General knowledge</h3> <ul> <li><a href="https://en.wikipedia.org/wiki/Data_type">Wikipedia article</a></li> </ul>