The Module Pattern is the most common design pattern used in JavaScript. It keeps the particular code block independent from the components.