Skip to content

JavaScript#

Overview#

JavaScript is a dynamic, high-level, interpreted programming language. It is widely used for web development to create interactive effects within web browsers, but it can also be used for server-side development, mobile apps, and more.

Supported Versions#

  • ES5
  • ES6 (ES2015)
  • ES7 (ES2016)
  • ES8 (ES2017)
  • ES9 (ES2018)
  • ES10 (ES2019)
  • ES11 (ES2020)
  • ES12 (ES2021)
  • ES13 (ES2022)

Data Type Correspondence#

Pars Data Type JavaScript Data Type Description
Object Object The base type for all other types.
Bit Boolean Represents a binary digit, either 0 or 1.
UInt8 (UByte) Number Unsigned 8-bit integer.
Int8 (Byte) Number Signed 8-bit integer.
UInt16 (UShort) Number Unsigned 16-bit integer.
Int16 (Short) Number Signed 16-bit integer.
UInt32 (UInt) Number Unsigned 32-bit integer.
Int32 (Int) Number Signed 32-bit integer.
UInt64 (ULong) Number Unsigned 64-bit integer.
Int64 (Long) Number Signed 64-bit integer.
UInt128 Number Unsigned 128-bit integer.
Int128 Number Signed 128-bit integer.
Float16 Number 16-bit floating-point number.
Float32 (Float) Number 32-bit floating-point number (single precision).
Float64 (Double) Number 64-bit floating-point number (double precision).
Float128 Number 128-bit floating-point number.
Decimal Number Represents fixed-point numbers with specific decimal places.
String String Represents a sequence of characters.
Char String Represents a single character.
Boolean Boolean Represents a logical value, either true or false.
Blob Blob Represents a Binary Large Object.
Time Date Represents time-related data such as dates, times, or durations.

Notes:

  • Some types such as UInt128, Int128, Float16, and Float128 do not have direct equivalents in JavaScript. They are represented using the closest available type, Number.
  • Blob is represented as a Blob in JavaScript, suitable for handling binary data.

This guide provides an overview of the JavaScript language's capabilities, including supported versions and data type correspondence.