HO Honey Tyagi Function Constructor A function constructor is a regular function used to create and initialize objects. When called with the new keyword, it creates a new…