how to add methods to javascript class with super keyword dynamically

class bcomp {
 some(){
    console.log("bcomp");
 }
}
class acomp extends bcomp {
 some(){
    super.some();
    console.log("acomp");
 }
}
var ins = new acomp();
ins.some()

so output will be
“bcomp
acomp”

i need to override some method of acomp with super keyword

acomp.prototype.some = function (params) {
    super.some();
    console.log("new acomp");
}

SyntaxError: ‘super’ keyword unexpected here
how to achieve the above ?