About

Saturday, January 21, 2023

#49 What are Pure Functions? | JavaScript Full Tutorial


 Let's learn about pure functions, first we'll look at a definition and then some examples of pure functions in action.

0:00 - Intro - Like and Subscribe 0:36 - What is a Pure Function? 0:53 - Pure Function example 2:40 - Impure Function example 5:55 - Lesson Summary 6:21- Outro/Up Next

#48 What are Higher Order Functions? | JavaScript Full Tutorial


 

In this lesson let's learn all about higher order functions, we'll understand what they are and look at some examples. 0:00 - Intro - Like and Subscribe 0:52 - What are Higher Order Functions? 1:35 - Example 1 - map() 3:06 - Example 2 - addEventListener() 4:45 - Advantages of Higher Order Functions 5:17 - Lesson Summary 5:57 - Outro/Up Next

#47 How to use setTimeout() and setInterval() | JavaScript Full Tutorial


 

In this lesson let's learn all about the timing events setTimeout() and setInterval(), as well as the clear methods clearTimeout() and clearInterval(). So, sometimes we want to control when our function is executed after we invoke it for e.g. we may want to invoke a function 3 seconds after the function has been triggered or we might want our function to repeat every second, we'll learn how to do just that in this lesson as we look at timing events. 0:00 - Intro - Like and Subscribe 0:23 - What are JS timing events? 0:53 - setTimeout() 2:56 - clearTimeout() 5:13 - setInterval() 5:59 - clearInterval() 6:35 - Lesson Summary 7:05 - Lesson Tasks 10:56 - Outro/Up Next

#46 How to use Arrow Functions | JavaScript Full Tutorial


 In this lesson we'll learn all about Arrow Functions, arrow functions are a new modern way of writing functions, they provide a cleaner and more concise syntax as well as advantages when it comes to the 'this' keyword. By the end of this lesson you will know what arrow functions are, how to write them and when to use them.

0:00 - Intro - Like and Subscribe 0:25 - What are Arrow Functions? 1:16 - Writing an Arrow Function 2:25 - Parentheses syntax 3:20 - Function body syntax 5:48 - Arrows and the 'this' keyword 8:55 - Lesson Summary 9:23 - Lesson Tasks 12:18 - Outro/Up Next

#45 What is the Rest Parameter? | JavaScript Full Tutorial


 

Let's learn all about the Rest Parameter, in this lesson we find out what it is and what it's used for, all with a bunch of examples.

#44 What is the Spread Operator? | JavaScript Full Tutorial


 

Let's learn all about the spread operator, we can use the spread operator with arrays, objects, and function calls. In this lesson we'll look at each of them in detail with plenty of examples, we'll then end by looking at some tasks using the spread operator. 0:00 - Intro - Like and Subscribe 0:27 - What is the Spread Operator? 0:49 - Spread with Arrays 7:57 - Spread with Objects 10:27 - Spread with Functions 11:25 - Lesson Summary 11:50 - Lesson Tasks 15:20 - Outro/Up Next

Twitter Delicious Facebook Digg Stumbleupon Favorites More