About

Saturday, January 21, 2023

#51 JS Closures made EASY | JavaScript Full Tutorial


 

In this lesson we'll learn all about JS Closures, closures are an advanced JS function concept. By the end of this lesson you will know exactly what they are, how to create them and why we should use them. 0:00 - Intro/Like and Subscribe! 1:00 - Re-cap on JS Scope 5:00 - What is the Lexical environment? 6:45 - What are JS Closures? 9:14 - Lesson Summary 9:53 - Lesson Tasks 12:17 - Outro/Up Next

#50 JS Recursion made EASY | JavaScript Full Tutorial


 

In this lesson we'll learn all about JS Recursion, a recursive function is a function that calls itself inside the function body, and also stops itself.

#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

Twitter Delicious Facebook Digg Stumbleupon Favorites More