Question 12
Consider the following Script embedded in an HTML document.
class Twowheeler { constructor(name){ this.name = name; this.gear = 4; this.seating = 2; } get description(){ return `${this.name} has ${this.gear} gear and has${this.engine} engine.` }}
class Moped extends Twowheeler { constructor(name){ super(name); this.engine = '4 stroke' }}
let myBike = new Twowheeler("Discover")let myDrive = new Moped("Activa")console.log(myDrive.description)console.log(myBike.description)What will be the output on console, if the HTML document is rendered using a browser?