Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

If you want to use a modern syntax, try using Typescript, but setting the compile target to es5.

Just to be clear, though, internally es2015 classes are no different than es5 prototypes. The source code looks different, but it is just 'syntactic sugar' for achieving the exact same thing at runtime.