1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
class Counter { constructor() { this.value = 0; } increment() { this.value += 1; } } function addOne(n) { return n + 1; } const square = (n) => n * n; const VERSION = "1.0";