#03 - Arrow Functions - Modern Javascript (ES6+) Tutorial

preview_player
Показать описание
In this ES6+ tutorial, we teach you how to define arrow functions and how they handle the scope of this in a more intuitive way.

We cover the following topics:
0:00 - Arrow functions
0:48 - Shothand syntax
2:20 - Default parameters
2:57 - This
5:01 - Next up

Check out the Modern Javascript playlist for more ES6+ tutorial videos

Subscribe to the channel and never miss a lesson

Visit the website for a wide range of programming tutorials
Рекомендации по теме
Комментарии
Автор

const squared = (num: number) : number => {
console.log(Math.pow(num, 2));
return Math.pow(num, 2);
}
squared(2);

kvelez