Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

JavaScript Data Types

8

Flashcards

0/8

Still learning
StarStarStarStar

Number

StarStarStarStar

A double-precision 64-bit binary format IEEE 754 value (which includes integers). Example: var count = 42;

StarStarStarStar

Symbol

StarStarStarStar

A unique and immutable primitive value that can be used as the key of an Object property. Example: var sym = Symbol('description');

StarStarStarStar

String

StarStarStarStar

A sequence of characters used to represent text. Example: var greetings = 'Hello, World!';

StarStarStarStar

Null

StarStarStarStar

A special data type that represents a 'no-value' or a non-existent object. Example: var empty = null;

StarStarStarStar

Undefined

StarStarStarStar

Indicates that a variable has been declared but has not yet been assigned a value. Example: var item;

StarStarStarStar

BigInt

StarStarStarStar

An integral numeric type that can represent numbers beyond the safe integer limit for Numbers. Example: var largeNumber = BigInt(9007199254740991);

StarStarStarStar

Boolean

StarStarStarStar

A logical entity that can have only two values: true or false. Example: var isActive = true;

StarStarStarStar

Object

StarStarStarStar

A collection of properties, where each property is defined as a key-value pair. Example: var person = {firstName: 'John', lastName: 'Doe'};

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.