« JavaScript does not come with concept of
classes, as other mainstream language do. Instead it comes with
prototypes. Since around 2016 though, with its ES6 version, JavaScript has a "class" keyword. This article, strongly opinionated, gives insights about what are prototypes, and how the "JS Classes" may confuse programmers. »