Functional Programming, JavaScript.
var _country = country; this.getCountry = function() { return _country; } } function Person(addr) { var _address = addr; this.getAddress = function() { return _address; } } function Customer(person) { var _person = person; this.getPerson = function() { return _person; } } It would be nice to be