"best practice" for js namespaces?

"best practice" for js namespaces?

Hello, is there a general "best practice" for creating namespaces for objects in js? Ideally, I'm looking for an approach that will work for all scenarios, including all browsers, using the least amount of code, written in the most elegant and maintainable way. Ideally, I'm looking for the most universally acceptable approach that will be least likely to break.