First, just kidding. For starters, I don’t really imagine the Lord much caring how we write JavaScript. But also,
what I’m going to describe is fairly dated. That’s because I want to show how to do reasonably isolated and
Object-Oriented JavaScript using nothing later than ECMAScript 5, which goes back 10 years at this point. There are
obviously better ways to do modular JavaScript available now, but to get backwards compatible and cross browser
support using those techniques usually require a transpiler (which usually translates your code back to ECMAScript
5), and creating the build chains that do that are a big leap for a novice, or old school, JavaScript developer.
And this being an old topic, there are many posts out there on this subject. but looking around, I couldn’t find one
that I liked. Or that emphasized what I felt was important. Just like a real programmer, not invented here, so I’m
writing my own.