Basic OOP concepts explained in JavaScript

By