exam JS oop