Quest Global interview question

Basics concepts of oo Java Script