Question 14
Consider the below JavaScript program.
class Region{ constructor(region){ this.region = region; } get describe(){ return `${this.region} is one of the major geographical regions.` }}
class Country extends Region { constructor(region, country, nation){ super(region) this.country = country; this.nation = nation; }
get describe(){ return `${this.country} is a ${this.nation} nation in the region of${this.region}.` }}
let Australia = new Region('Australia and NZ', 'Australia', 'developed')let Germany = new Country('Europe', 'Germany', 'developed')console.log(Australia.describe)console.log(Germany.describe)What will be the output of the above program, if executed?