A trademark is a legal protection that grants exclusive rights to use a particular word, phrase, symbol, or design to identify and distinguish a product or service.
ECMAScript is maintained by Ecma International, an industry association, and undergoes regular updates to introduce new features and enhancements.
+ operator can be used to add numbers or concatenate strings, but also to cast a value to a number.
There is also an operator called
typeof that can be used to determine the type of a value at a given point in time. It returns a string representing the type of the operand.
Boolean: Represents a logical value of either
Null: Represents the intentional absence of any object value. It is a primitive type, but its sole value is
Undefined: Represents a variable that has been declared but has not been assigned a value. If a variable is declared but not assigned a value, it is automatically assigned the value of
BigInt: Introduced in ECMAScript 2020, BigInt is a primitive type that provides a way to represent arbitrarily large integers. It allows developers to perform operations on numbers beyond the limits of the Number type.
String: Represents a sequence of characters enclosed in single quotes (''), double quotes ("") or backticks (``). Strings are used to store and manipulate textual data.
Symbol: Introduced in ECMAScript 2015,
Symbolis a primitive type that represents a unique identifier. Symbols are often used as keys in objects to avoid name collisions.