Publicis Sapient interview question

Explain javascript oops concept with example?