In this multiple posts series, I will share about creating a simple REST API using Node.js and Express. The good news is

In this multiple posts series, I will share about creating a simple REST API using Node.js and Express. The good news is
Have you ever heard of generator functions in JavaScript? In this post, I share about generator functions and how to implement them.
Object destructuring is a powerful feature in JavaScript ES6. It reduces the codes you need to write in JavaScript. In this post, I share some of the tricks in object destructuring, hope it helps!
Handling errors in your code is a must, to let users know that something is not right when they use your program. In this post, I share about handling the errors of asynchronous functions in JavaScript.
Whether you realize it or not, asynchronous functions have been a part of our daily life, in the programs and apps we use. In this post, I would like to share on how to implement asynchronous functions in JavaScript.
Promise chaining is a way to execute codes by calling then() successively after an asynchronous code is executed successfully. Read more to find out.
This time, I share about method chaining in JavaScript, and how to create an object to support method chaining.
In this post, I share about currying, its purpose, and how to use it in real life cases. You mean like cooking curry? Definitely not. Just read the post.
One of the most useful operators introduced in ES6 in the spread (…) operator. It spreads an iterable object to a new list of elements. In this post, I will share about how to implement the spread operator in some use cases.
Sometimes, you will meet cases where there’s too much if-else. Then, you would use switch-case. But it’s still too much. Is there another way? In JavaScript, there is. Read more to find out.