I don’t like how I’m forced to write my getters and setters currently. There’s the “definegetter” option, but from what I’ve read it isn’t standardized and might not work everywhere. Does anyone have experience with this?
The semicolon at the beginning takes care of any improperly terminated statements that might preface this class and cause it to poop out. Thanks to Dave Hamp for that idea!
Finally, everything is wrapped in a function to preserve scope.