What should be used in place of a module when nothing is returned?

Given a module from the module design pattern,

const myModule = (function () {
  // some code
  return {

  };
})();

if nothing is returned, what would be the best alternative that, like a module, limits scope and organizes code?