Posts tagged with Code

Pure functions have no side effects and and they always return the same results given the same arguements. Let's find out how they work.

Read post

In this episode, we look at the reduce function and how to use it. We will use it to transform an array into an object and use it to recreate the filter.

Read post

The filter function is used for plucking elements from an array that match a predicate function in JavaScript. Check it out!

Read post

Check out the first episode in this series of screencasts on functional programming in JavaScript. In this episode, we'll look at the Map function.

Read post

Using the Node.js Cluster module is an easy way to achieve significant performance gains for your app. Find out how to use it in this article.

Read post

The fetch API is used for making network requests in the browser. In this article we'll learn how it works

Read post

JavaScript and promises go hand in hand. Find out how async/await can help make your asynchronous code easier to read and understand.

Read post

The keywords let and const are now part of Javascript. Let's explore what they do and how they differ from the var keyword.

Read post

With the release of ES2015, we now have three ways of defining variables in JavaScript. `var`, `let` and `const`. Let me explain the difference.

Read post

Do you want to write beautiful JavaScript? Learn about JavaScript Arrow functions and how to use them.

Read post