Skip to content

Truly independent web browser

269 B
Raw Blame
class Base {
    getValue() {
        return 42;
    }
}

class Derived extends Base {
    getValue() {
        return super.getValue();
    }
    getComputed(key) {
        return super[key];
    }
}

let obj = {
    foo() {
        return super.toString();
    },
};