Where the default values of the past arguments from the superclass (Vehicle) to the daughter class (bicycle) should be placed:
class Bicicleta extends Vehiculo {
constructor({numeroDeRuedas=2, tieneMotor=false}={}){
super(numeroDeRuedas, tieneMotor);
or like this:
class Bicicleta extends Vehiculo {
constructor(numeroDeRuedas, tieneMotor){
super({numeroDeRuedas=2, tieneMotor=false}={});
or like this:
class Bicicleta extends Vehiculo {
constructor({numeroDeRuedas=2, tieneMotor=false}={}){
super({numeroDeRuedas=2, tieneMotor=false}={});