a JavaScript file as the class
Why Do You Need To Know Package Cohesion Fundamentals?
Fagner Brack

It's important to note here, though, that just because it's written "class" that doesn't mean it's referring to the "class" terminology frequently used in Object Oriented Design.

You can have a JavaScript file that contains a function (or a group of) instead of an OOD "class".

Like what you read? Give Fagner Brack a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.