Answer:
function Enlistee( name, number ){
  constructor( ){
   super( ) ;
   this.name= name;
   this.number= number;
   this.Private= ( platoonNumber, yearOfService ) =>{
               this.platoonNumber = platoonNumber;
               this.yearOfService = yearOfService;
               }
   }
} Â Â Â Â Â Â Â Â
Explanation:
In Javascript, OOP ( object-oriented programming) just like in other object oriented programming languages, is used to create instance of a class object, which is a blueprint for a data structure.
Above is a class object called Enlistee and subclass "Private" with holds data of comrades enlisting in the military.