将值更改为引用

refactorgram

let customer = new Customer(customerData);

image/svg+xml

let customer = customerRepository.get(customerData.id);

的逆向操作是 将引用更改为值