class Base { __init__(a) { this.a = a; } } class Derived < Base { __init__(a, b) { super.__init__(a); this.b = b; } } var derived = Derived("a", "b"); print(derived.a); # expect: a print(derived.b); # expect: b