Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 787010 of Type

  • Revision slug: Glossary/Type
  • Revision title: Type
  • Revision id: 787010
  • Created:
  • Creator: Andrew_Pfeiffer
  • Is current revision? No
  • Comment new entry

Revision Content

Type is a characteristic of a {{glossary("value")}} affecting which operations on that value are valid. For example, an integer can be subtracted from an integer, but not from a string.

Learn more

Learn about types

General knowledge

Revision Source

<p><strong>Type</strong>&nbsp;is a characteristic of a {{glossary("value")}} affecting which operations on that value are valid. For example, an integer can be subtracted from an integer, but not from a string.</p>

<h2>Learn more</h2>

<h3>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>General knowledge</h3>

<ul>
 <li><a href="https://en.wikipedia.org/wiki/Data_type">Wikipedia article</a></li>
</ul>
Revert to this revision