using java script write me two classes one name Food & Pizza the food class needs…

using java script

write me two classes one name Food &
Pizza
the food class needs to initialize attributes name,
count, restaurant
Pizza needs to inherit from food
Pizza needs to initialize attributes  crust,
toppings, delivery person
Pizza needs to implement a method call summary which will
output, the delivery person, and the topings