• Wednesday , 3 June 2020

JavaScript Factory Functions

Code Canyon



JavaScript factory functions made simple.

🔥Get the COMPLETE course (83% OFF – LIMITED TIME ONLY): http://bit.ly/2M1sp4B

Subscribe for more videos:
https://www.youtube.com/channel/UCWv7vMbMWH4-V0ZXdmDpPBA?sub_confirmation=1

Want to learn more from me? Check out my blog and courses:

http://programmingwithmosh.com
https://www.facebook.com/programmingwithmosh/


Original source

3d Ocean

Related Posts

10 Comments

  1. havetocheck havetocheck
    April 11, 2019 at 16:45

    hi, factory pattern is all about creating new instances for different classes in a single method. In this video, you are creating regular functions. Are you sure that this is the right way?

  2. Thanga Raj
    April 11, 2019 at 16:45

    I like the constructor function

  3. n2fole00
    April 11, 2019 at 16:45

    How is this different to a regular function?

  4. Md. mahmudul hasan
    April 11, 2019 at 16:45

    great clear lesson. i loved.

  5. Mir
    April 11, 2019 at 16:45

    it is just confusing.

  6. Tyrese W.
    April 11, 2019 at 16:45

    bORING!

  7. Mahmoud agamy
    April 11, 2019 at 16:45

    great way of teaching, loved it

  8. NUTTYGOLD
    April 11, 2019 at 16:45

    This tutorial could have been 2 minutes long

  9. Aswin Alapati
    April 11, 2019 at 16:45

    Hi Mosh, thanks for great videos. I have a question regarding methods. Is the method 'draw' in the above example duplicated on every object creation or is it created on the prototype? If it is duplicated for every object, then why should I favor factory functions?

  10. Randy C
    April 11, 2019 at 16:45

    Great Video!

Leave A Comment

You must be logged in to post a comment.