A data type specifies the type of value that a variable, constant, or function can accept. Type annotation of variables, constants, and functions helps reduce programming errors by making sure data that is assigned has the right types. Furthermore, type annotation also produces faster, more efficient code.
There are several primitive types of values in JScript .NET. In this part of the documentation we will present these types. We have grouped them as numeric, Boolean and string values.
Primitive types are types that can be assigned a single literal value. We will be looking at more complex types later.