Useful TypeScript and JavaScript shorthands to know

17th May 2022

Useful TypeScript and JavaScript shorthands to know

JavaScript and TypeScript share a number of useful shorthand alternatives for common code concepts. Shorthand code alternatives can help reduce lines of code, which is something we typically strive for. In this article, we will review common TypeScript and JavaScript shorthands. We will also explore examples of how to use these shorthands. JavaScript and TypeScript shorthands Using shorthand code is not always the right decision when writing clean and scalable code. Concise code can sometimes be more confusing to read and update. It is important that your code is legible and conveys meaning and context to other developers. Our decision to […]