Jump to:

Our volunteers haven't translated this article into ไทย yet. Join us and help get the job done!
You can also read the article in English (US).

Type  (or data type) is a characteristic of a value affecting what kind of data it can store — for example in JavaScript a Boolean only holds true/false values, whereas a String holds text strings, a Number holds numbers of any kind, and so on.

A value's data type also affects which operations are valid on that value. For example, an integer can be multiplied by an integer, but not by a string.

Learn more

General knowledge

Document Tags and Contributors

ป้ายกำกับ: 
ผู้มีส่วนร่วมกับหน้านี้: mdnwebdocs-bot, rileym7, zakyrie, chrisdavidmills, hbloomer, Andrew_Pfeiffer
อัปเดตล่าสุดโดย: mdnwebdocs-bot,