Question d’entretien chez Walmart

Prototypal inheritance with example. How to add static variables to a function.