A technical leader with more than 12 years of programming experience designing and building versatile APIs, growing teams and delivering products with a fantastic user experience.
We have been messing with arrays in the last few blogs, so let's switch gears and look at some string methods. There are a lot of built-in methods on a string, but two you might not know are padStart() and padEnd(). So what do they do? They pad a str...
Arrays are some of the most common data types you work with as a programmer. We filter them, we map over them, we edit them and more. As we spend so much time with them, JavaScript has created some great helper functions to make them easier to work w...
There are so many functions in JavaScript, especially in arrays, that it can be hard to keep track of all of them. You may not have used every before, but it is a simple way to ensure each element in the array passes a test.
The array method returns ...
Throwing a custom error in JavaScript is easy. Want to add a status field to all errors thrown by networking code, no problem. Need to add a further info field? Anything goes in JavaScript, but in TypeScript, things are different. So what's the best ...