instanceof operator when working with prototypes example