js oop exam preparation