Series

JavaScript One-liners

The inclusion of arrow functions in JS has made it possible to have code in a single line. In this series, we will take a closer look at these famous JavaScript one-liners to better understand them.

Articles in this series

JS One-liners #1: Get the average of an array of numbers

Oct 27, 20214 min read 94 views

The inclusion of arrow function expressions in JavaScript has made it possible to adapt various everyday functionalities to code fragments that occupy a single line. In this series of articles, we will take a closer look at these famous JavaScript on...

JS One-liners #1: Get the average of an array of numbers