Once Upon a Time in Javascript: Classes and Inheritance

Once Upon a Time in Javascript: Classes and Inheritance

Classes in javascript were first introduced as part of ECMAScript 6 standard back in 2015. Today, they feel like something natural, but how was javascript before them?