x
 
<!DOCTYPE html>
<html>
<body>
<script>
    var AccountDetails = function(){
        var person = "Christina";
            
        function secretNumber(person){
            var num = 0;
            if(person == "Christina"){
                num = 90678;
            }           
            return num;
        }
        return{
            display : function(){
            var designee = "Mrs." + person;             
            document.write("Name of person " + designee + "; ");
            return secretNumber(person);
            }
        };
    }();        
    document.write(AccountDetails.display());
</script>
</body>
</html>