Exercise for object.js