2.3.19 Constructors and Properties

In JavaScript classes, we put constructors inside of them as follows…

The output would be “Bongo”. This syntax should be very familiar to those coming from traditional Object-oriented languages, such as C#.