#javascript
Read more stories on Hashnode
Articles with this tag
In Javascript almost everything is an object like Arrays, functions, Date, RegExp Promise etc. You categorise objects into 2 types: With Known...
In this series we are going utility types in Typescript which are commonly used. This will help us to perform common transformation. Below are the...
typeof operator is used to get type of (I'd prefer to say Shape of) operand. If you want to learn about typeof in reference to Javascript then you can...
Do you actually know how to use typeof in Javascript?Do you now what are typeof operator capabilities? Well, we are going to explore typeof in...
TLDR; Optional chaining (?.) prevents runtime errors when accessing properties or methods of potentially null or undefined objects by short-circuiting...
TL;DR: TypeScript catch clause variables can now be typed as unknown for better type safety since version 4.0.Try-catch blocks are used to handle...