A JavaScript module example with public and private properties accessible through the namespace.