#web-development
Read more stories on Hashnode
Articles with this tag
Convert && !== and || === chains into array.includes. · When a variable is compared against a string value, the easiest way to start is with a variable...
Destructure an object and use variables instead of property access chains. · Destructuring is a way to access array values or object properties. It can...
JavaScript has many quirks and difficult-to-understand behaviors. There are hilarious talks such as WTFJS and WAT that make fun of JavaScript for its...
Private fields and methods, top-level await, error causes and more... · JavaScript evolves quickly. In 2021, several proposals have moved to Stage 4 of...
When programming, we often edit text directly to achieve our goals. Such manual editing can be slow and error-prone. For behavior-preserving changes...
Executing many automated refactorings in a row is a powerful way to improve your code quickly. The advantage of this approach over manual refactoring...