javascript

JavaScript if shorthand without the else

JavaScript if shorthand without the else

JavaScript if shorthand without the else

read more
Nullish coalescing operator (??)

Nullish coalescing operator (??)

The nullish coalescing operator is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand.

read more
JavaScript data types and data structures

JavaScript data types and data structures

Built-in data structures available in JavaScript and what properties they have. These can be used to build other data structures. Wherever possible, comparisons with other languages are drawn.

read more
Array.prototype.toString()

Array.prototype.toString()

The toString() method gives us the string representation of array, number, strings and booleans.

read more
Readonly Utility Type - Typescript

Readonly Utility Type - Typescript

What is the Readonly Utility Type? Readonly<Type> Constructs a type with all properties of Type set to readonly, meaning the properties of the constructed type cannot be reassigned.

read more
Optional chaining (?.)

Optional chaining (?.)

The optional chaining operator (?.) enables you to read the value of a property located deep within a chain of connected objects without having to check that each reference in the chain is valid.

read more
JS Functions

JS Functions

Functions are one of the fundamental building blocks in JavaScript. A function in js is similar to a procedure a set of statements that performs a task or calculates a value, but for a procedure

read more