Hide Delegate

refactorgram

manager = aPerson.department.manager;

image/svg+xml

manager = aPerson.manager;

class Person {
  get manager() {return this.department.manager;}

inverse of Remove Middle Man