call a method on an object in an [].prototype callback.