What is Factory Function in JavaScript? - JS Tutorial

ColorCode
ColorCode
56.8 هزار بار بازدید - 4 سال پیش - What is factory function in
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: 20 Things JavaScript Developers Shoul...

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-th...


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
4 سال پیش در تاریخ 1399/11/08 منتشر شده است.
56,851 بـار بازدید شده
... بیشتر