Javascript

Understanding Arrow Functions in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Arrow Functions in JavaScript

Arrow functions are a new way to write anonymous function expressions in JavaScript, and are similar to lambda functions in some other programming languages like Python. They differ from traditional functions in the way their scope is determined and how their syntax is expressed, and are particularly useful when passing a function as a parameter to a higher-order function, like an array iterator method. In this article, you will find examples of arrow function behavior and syntax.

Read more
Understanding Default Parameters in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Default Parameters in JavaScript

In ECMAScript 2015, default function parameters were introduced to the JavaScript programming language. These allow developers to initialize a function with default values if the arguments are not supplied to the function call. Initializing function parameters in this way will make your functions easier to read and help you avoid errors caused by undefined arguments and the destructuring of objects that don’t exist. In this article, you will learn how to use default parameters.

Read more
Usando buffers no Node.js — step-by-step Javascript tutorial on Progressive Robot

Usando buffers no Node.js

O autor selecionou a COVID-19 Relief Fund​​​​​ para receber uma doação como parte do programa Write for DOnations. Um buffer é um espaço de memória (tipicamente RAM)…

Read more
CHAT