JavaScript Expression & Statement
An expression is any valid set of literals, variables, operators that evaluates to a single value.
An expression is any valid set of literals, variables, operators that evaluates to a single value.
In JavaScript undefined & null sound like same, but they are different.
JavaScript is a prototype based language. The term Prototype is another important topic of JavaScript. Without knowing it, we can’t understand the underlying structure of a reference typed JavaScript code.
In computer science there is a term I always wanted to know deep about it and it is called AST(Abstract Syntax Tree)…
In es2019 and TypeScript 3.7 we got two new way to check nullish value(null, undefined), these are Optional Chaining & Nullish Coalescing.
In TypeScript Generics allows us to pass a range of types to a function or component. We can call it Abstract Type.
TypeScript allows us to make an individual property readonly. When we use readonly, we can’t assign them with other variables, can’t update or delete.