Module Design Pattern – Beau teaches JavaScript

By | 31st July 2017
Module Design Pattern – Beau teaches JavaScript

The module design pattern in JavaScript is one of the most used designed pattern for keeping particular pieces of code independent from other parts. Learn how to use it in this quick video!

More information:

Beau Carnes on Twitter:

⭐JavaScript Playlists⭐
▶JavaScript Basics:
▶Design Patterns:
▶Data Structures and Algorithms:
▶Clean Code:

We’re busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

Join our community at
Follow us on twitter:
Like us on Facebook:
Follow Quincy on Quora:
Video Rating: / 5

2 thoughts on “Module Design Pattern – Beau teaches JavaScript

  1. wjrasmussen666

    Do browsers support ES6? I thought is wasn't supported fully.

  2. CodeTuts

    Without the syntax sugar and prototype orientation it'd look like:

    let Module = (() => {
    let private = 'secret'

    function _privFunc() { console.log('Ayy LMAO') }
    function publicFunc() { _privFunc() }

    return { publicFunc }


Leave a Reply