Nagarro interview question

Mostly on Closures ,Arrow function , Prototypal Inheritance