A _______ is a self-contained block of code that manipulates data, and can be thought of as an object in object-oriented programming.

  • Function
  • Module
  • Class
  • Closure
A Module is a self-contained block of code in JavaScript that manipulates data and can be thought of as an object in object-oriented programming. Modules help encapsulate functionality and data, providing a clean and organized code structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *