Summary
Keywords
Full Transcript
The JavaScript Tool I'm using to demonstrate: https://runjs.app/ColorCode ColorCode Etsy Merchandise store: https://www.etsy.com/shop/ColorCodeStore What is factory function in JavaScript? JavaScript Factory Functions from the series "10 Things JS Developers Should Know" by ColorCode.io, Sina Jazayeri Full playlist here: https://www.youtube.com/playlist?list=PL1PqvM2UQiMoGNTaxFMSK2cih633lpFKP This is episode 3 in a 10 part series I’m calling 10 things javascript developers should know but probably don’t. In this series, we’re gonna cover some of the most fundamental and important parts of JavaScript that most of us don’t actually know, and barely touch. Today, for episode 3, we’re gonna explore Factory Functions, the idea behind them, the problem they solve and a few practical examples. Episode 3: Factory Function. Let’s go! All the code from this series is available here: https://github.com/ColorCode/js-10-things 0:00:00 Intro 0:00:54 What is a Factory Function 0:01:22 The problem 0:05:20 The solution 0:09:30 The benefits 0:10:28 More examples 0:16:36 Outro
