Using a Prototype with Factory Functions

Using a Prototype with Factory Functions

All Things JavaScript, LLC

4 года назад

2,599 Просмотров

In my previous tutorial I talked about factory functions. In this tutorial, I'm going to look at how we can assign a prototype to objects that are produced using a factory function. Make sure you watch the tutorials referenced below for a complete understanding of this topic.

Would you like to help keep this channel going?
http://allthingsjavascript.com/contribute.html

Courses offered on Udemy at a discount (access from my site): http://allthingsjavascript.com/courses.html

Tutorials referred to in this video:
What is a Factory Function: https://youtu.be/OjAwnwZNDg0
Understanding Closure: https://youtu.be/TznpOmv2BQM
Constructor Playlist: https://www.youtube.com/playlist?list=PLTo9PCskHpbFc08fi-4TNIZ8qG0pO3Ph7
Prototype Playlist: https://www.youtube.com/playlist?list=PLTo9PCskHpbGaCR6vjk1q4ohcEm8cBtzN
Using querySelector: https://youtu.be/f-yLYjvPiLE
Callback Pattern: https://youtu.be/tBjvWZn9fvs
Higher Order Functions: https://youtu.be/O9lMynNdka4

For more resources on JavaScript:
http://www.allthingsjavascript.com

#javascript #AllThingsJavaScriptLLC

Тэги:

#JavaScript #Learning #Tutorial #All_Things_JavaScript #Getting_Started #instruction #training #JavaScript_Tutorial #Understanding_JavaScript #Factory_Function #Prototype #Object #Create_Objects #Using_a_Prototype_with_Factory_Functions
Ссылки и html тэги не поддерживаются


Комментарии: