The module pattern is an important pattern to learn in JavaScript. We will dive into this pattern in this tutorial.
Would you like to help keep this channel going?
https://www.patreon.com/allthingsjavascript
Access to EVERY course (get 2 months free): https://www.skillshare.com/r/profile/Steven-Hancock/24508
Courses offered on Udemy at a discount:
Getting Started: https://www.udemy.com/learn-modern-javascript-getting-started/?couponCode=GETTINGSTARTED2019
Advanced Topics: https://www.udemy.com/learn-modern-javascript-advanced-topics/?couponCode=ADVANCED2019
Mastering Regular Expressions in JavaScript:
https://www.udemy.com/mastering-regular-expressions-in-javascript/?couponCode=YOUTUBE
Functional Programming in JavaScript: https://www.udemy.com/functional-programming-in-javascript-a-practical-guide/?couponCode=YOUTUBE19
NEW Mastering JavaScript Arrays: https://www.udemy.com/course/mastering-javascript-arrays/?couponCode=YOUTUBE19
Tutorials referred to in this video:
Node.js playlist: https://www.youtube.com/playlist?list=PLTo9PCskHpbHOCWbxxukNU8sp57tPy4Qh
Understanding Scope: https://youtu.be/SBjf9-WpLac
Understanding Closure: https://youtu.be/TznpOmv2BQM
Template Strings: https://youtu.be/7M0VjaBPtyE
IIFEs: https://youtu.be/w71IVgfsOL0
For more resources on JavaScript:
http://www.allthingsjavascript.com
#javascript #AllThingsJavaScriptLLC
Original source
5 responses to “JavaScript Patterns: The Traditional Module Pattern”
Could you do a video of the html5 download attribute and its cross browser support. in 2019 their doesn't seem to be a easy to download files from a url using axios get or fetch get methods… the default is loading the image in the browser but how do you force a download from a url across browsers?
You could just create an object from the start
or create a class with a constructor
I have removed my Bell 🔔 icon from all my subscriptions I have so many I don’t really care about notifications because anyway it’s all in my feed… Because you have very interesting videos I did an exception for your channel 😄 I am a TypeScript Junky JavaScript is my Methadone and your like my pharmacist 😄
8:15 oups 😬
Great vid