JavaScript Global object

2021 VietMX 0

1. Overview The global object provides variables and functions that are available anywhere. By default, those that are built into the language or the environment. […]

JavaScript Date and time

2021 VietMX 0

Let’s meet a new built-in object: Date. It stores the date, time and provides methods for date/time management. For instance, we can use it to store […]

JavaScript Map and Set

2021 VietMX 0

Till now, we’ve learned about the following complex data structures: Objects are used for storing keyed collections. Arrays are used for storing ordered collections. But […]

JavaScript Iterables

2021 VietMX 1

Iterable objects are a generalization of arrays. That’s a concept that allows us to make any object useable in a for..of loop. Of course, Arrays are iterable. But […]

JavaScript Arrays

2021 VietMX 0

Objects allow you to store keyed collections of values. That’s fine. But quite often we find that we need an ordered collection, where we have a […]

JavaScript Strings

2021 VietMX 1

In JavaScript, the textual data is stored as strings. There is no separate type for a single character. The internal format for strings is always UTF-16, […]

JavaScript Numbers

2021 VietMX 0

In modern JavaScript, there are two types of numbers: Regular numbers in JavaScript are stored in 64-bit format IEEE-754, also known as “double precision floating point […]

JavaScript Symbol type

2021 VietMX 0

By specification, object property keys may be either of string type, or of symbol type. Not numbers, not booleans, only strings or symbols, these two […]