Publicis Sapient Interview Question

Explain javascript oops concept with example?