#typescript
Read more stories on Hashnode
Articles with this tag
Are you looking to update the value in an array but not change the original? Say hello to with(). The with function allows you to update a value in an...
Replace all occurrences in a string without RegEx · There is a good chance that replace does not work how you think: const numbers =...
Mastering String Manipulation in JavaScript: A Guide to padStart and padEnd · We have been messing with arrays in the last few blogs, so let's switch...
Mastering Array Search with some, indexOf, and includes in JavaScript · Arrays are some of the most common data types you work with as a programmer. We...
Using Array.prototype.every() to validate arrays in JavaScript · There are so many functions in JavaScript, especially in arrays, that it can be hard to...
How to extend the error type in TypeScript · Throwing a custom error in JavaScript is easy. Want to add a status field to all errors thrown by networking...