Frage im Vorstellungsgespräch bei SugarAI

How do you make classes in JavaScript?

Antwort im Vorstellungsgespräch

Anonym

10. Okt. 2019

A JavaScript class is a type of function. Classes are declared with the class keyword. We will use class expression syntax to initialize a class. // Initializing a class with a class expression const y = class {}