JavaScript: Closures & Prototypes
ECMAscript 2019
| Intermediate
- 14 videos | 1h 28m 24s
- Includes Assessment
- Earns a Badge
This 14-video course covers closures-the bundle of a function along with its enclosing environment-and its implications on factors such as variable scopes and function references. Key concepts covered here include what makes up a closure in Javascript; learning how variables of the same name inside closures and in scopes outside them are accessed by functions; and distinguishing between variables of the same name inside functions, within closures, and ones defined in a global scope. Begin by observing how to implement counter functions with closures; how to integrate closures with buttons on web pages; and how closures can be created within objects and implications on your code. Next, learn how closures created within loops interact with variables defined within and outside the loop; how to implement getter and setter functions for Javascript objects using closures; and learn when to use prototypes for objects and how to define them. Finally, observe how to distinguish between object prototypes and classes; learn to use prototypes to implement inheritance; and implement multiple levels of inheritance with prototypes.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseRecognize what makes up a closure in javascriptRecall how variables of the same name inside closures and in scopes outside them are accessed by functionsDistinguish between variables of the same name inside functions, within the closure, and ones defined in a global scopeImplement counter functions with closuresIntegrate closures with buttons on a web pageRecognize how closures can be created within objects and its implications on your code
-
Recognize how closures created within loops interact with variables defined within and outside the loopImplement getter and setter functions for javascript objects using closuresIdentify when to use prototypes for javascript objects and how they can be definedDistinguish between object prototypes and classes in javascriptUse prototypes to implement inheritance in javascriptImplement multiple levels of inheritance using prototypesSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 10s
-
9m 45sUpon completion of this video, you will be able to recognize what makes up a closure in JavaScript. FREE ACCESS
-
6m 40sAfter completing this video, you will be able to recall how variables of the same name inside closures and in scopes outside them are accessed by functions. FREE ACCESS
-
8m 32sFind out how to distinguish between variables of the same name inside functions, within the closure, and ones defined in a global scope. FREE ACCESS
-
5m 33sIn this video, learn how to implement counter functions using closures. FREE ACCESS
-
8m 26sFind out how to integrate closures with buttons on a web page. FREE ACCESS
-
7m 57sAfter completing this video, you will be able to recognize how closures can be created within objects and what implications they have on your code. FREE ACCESS
-
5m 47sUpon completion of this video, you will be able to recognize how closures created within loops interact with variables defined within and outside the loop. FREE ACCESS
-
4m 23sLearn how to implement getter and setter functions for JavaScript objects using closures. FREE ACCESS
-
7m 39sIn this video, you will learn when to use prototypes for JavaScript objects and how they can be defined. FREE ACCESS
-
8m 5sIn this video, you will learn the difference between object prototypes and classes in JavaScript. FREE ACCESS
-
7m 34sIn this video, you will learn how to use prototypes to implement inheritance in JavaScript. FREE ACCESS
-
4m 33sIn this video, you will learn how to implement multiple levels of inheritance using prototypes. FREE ACCESS
-
1m 20sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.