title: Knockout.js: Function parameter undefined
body: <p>I have a very simple example that is not working.</p>
  
  <p>jsfiddle: <a href="http://jsfiddle.net/ThomasDeutsch/8hzhp/3/" rel="nofollow">http://jsfiddle.net/ThomasDeutsch/8hzhp/3/</a></p>
  
  <pre><code>// My Model
  function Customer(id, name, lastname) {
      this.Id = ko.observable(id);
      this.Name = ko.observable(name);
      this.LastName = ko.observable(lastname);
  }
  
  // My ViewModel
  ViewModel = (function () {
      var getName = ko.computed(function (x) {
          return x.Name();
      });
  
      return {
          getName: getName(new Customer(1, "Thomas", "D"))
      };
  })();
  
  ko.applyBindings(ViewModel);​
  </code></pre>
  
  <p><strong>problem:</strong> parameter (x) is undefined</p>
  
  <p><strong>goal:</strong> return the Name-Property of the called Object - i want to use the x as a property so that i can call this function with any Object with a observable Name property</p>
  
  <p><em>Code explanation:
  This is done using the revealing-module-pattern with knockout.js. The Name-property is a ko.observable() - so the () is needed.</em></p>
  
  <p><strong>question</strong>: Why is x undefined?</p>