This series covers explanation and examples of the most important and commonly used JavaScript Design Patterns. JavaScript modules are the most prevalently used design patterns for keeping particular pieces of code independent of other components . This provides loose coupling to support well-structured code.