js
JS Basics
JavaScript is a scripting language that enables you to create dynamically updating content, control multimedia, animate images, and pretty much everything else.
Data Types
Primitive values:
- Undefined: A variable that has not been assigned a value has the value undefined.
- Null: The value of null represents the intentional absence of any object value.
- Boolean: Logical entity that can have two values, true or false.
- Number: Number values.
- BigInt: Used for storing and operating on big integers even beyond the safe integer limit for numbers.
- String: Used to represent textual data. The first element is at index 0, the next at index 1, and so on. The length of a string is the number of elements in it.
- Symbol: A symbol is a unique and immutable primitive value and may be used as the key of an Object property.