News

class Counter { constructor() { this. xValue = 0; } } This proposal adds the ability to define public and private fields directly within the class definition. class Counter { xValue = 0; ...