let pet = getSmallPet(); if ((
pet).swim) { (
pet).swim(); } else { (
pet).fly(); }