title: Knockout-arrays as global variables in javascript
body: <p>I probably show off my lack of skills with this one. But since I´m all for learning I´m willing to let pride go... </p>
  
  <p>In my viewModel I define:</p>
  
  <pre><code>self.Tags() = ko.observableArray();
  self.Skills() = ko.observableArray();
  </code></pre>
  
  <p>then I want to save my tags. I have created this function outside the viewModel where I do some processing:</p>
  
  <pre><code>function saveTags( category, mytagsArray) { ... }
  </code></pre>
  
  <p>I call 'saveTags( "skill", Skills)' from within the viewModel and get this error telling me self.Tags() is not a function.</p>
  
  <p>Why am I not allow to refer self.Tags inside the function "saveTags"?</p>
  
  <p>(And please do not say it should be LackOfSkills instead of Skills... ;)</p>