classBuilder{build(){this.start();this.lint();this.assemble();this.deploy();}}classAndroidBuilderextendsBuilder{constructor(){super();}start(){ console.log("Ready to start build android");}lint(){ console.log("Linting the android code");}assemble(){ console.log("Assembling the android build");}deploy(){ console.log("Deploying android build to server");}}classIosBuilderextendsBuilder{constructor(){super();}start(){ console.log("Ready to start build ios");}lint(){ console.log("Linting the ios code");}assemble(){ console.log("Assembling the ios build");}deploy(){ console.log("Deploying ios build to server");}}(function(){const androidBuilder =newAndroidBuilder(); androidBuilder.build();// Ready to start build android// Linting the android code// Assembling the android build// Deploying android build to serverconst iosBuilder =newIosBuilder(); iosBuilder.build();// Ready to start build ios// Linting the ios code// Assembling the ios build// Deploying ios build to server})();