In JavaScript everything is a an object. Functions? Objects. Strings? Objects. Numbers? Objects. All objects with prototypes.
Also classes are just syntactic sugar for prototype chaining. I think digging into the output of typescript before ES6 classes was the biggest aha moment for me.