---
title: "Refactor code using module pattern"
description: "Episode 13 of Learn JavaScript, by Neeraj Singh."
canonical_url: "https://www.bigbinary.com/videos/learn-javascript/refactor-code-using-module-pattern"
markdown_url: "https://www.bigbinary.com/videos/learn-javascript/refactor-code-using-module-pattern.md"
---

# Refactor code using module pattern

Episode 13 of Learn JavaScript, by Neeraj Singh.

## Details

- Series: Learn JavaScript Videos
- Duration: 21:19
- Published: February 5, 2016
- [Watch on YouTube: https://www.youtube.com/watch?v=ATm3S4Di4Yo](https://www.youtube.com/watch?v=ATm3S4Di4Yo)

## Notes

- [Avoid domready when possible](https://www.bigbinary.com/videos/learn-jquery/avoid-domready-when-possible)
- [Immediately invoked function expression](https://www.bigbinary.com/videos/learn-javascript/immediately-invoked-function-expression)
- [Module pattern in JavaScript](https://www.bigbinary.com/videos/learn-javascript/module-pattern-in-javascript)
- [Mastering the Module Pattern](http://toddmotto.com/mastering-the-module-pattern/)

## Links

- [Human page](https://www.bigbinary.com/videos/learn-javascript/refactor-code-using-module-pattern)
