Functional Programming, JavaScript.
customer.getPerson(); if(p !== null) { var a = p.getAddress(); if(a !== null) { var c = a.getCountry(); return c; } return null; } return null; Can you spot any issues with this code? For starters, the incessant null checking that occurs only to return null again because there is no other sensible