title: Pass Array from MVC to javascript?
body: <p>I can pass a variable from MVC ASP.NET by using this : </p>
  
  <pre><code>var lastCategoryId = '&lt;%=Model.CS.LastSelectedCategory %&gt;';
  </code></pre>
  
  <p>This work fine with string or integer but how do I do with an array of strings? I have tried to pass the array the same way but the variable is set to System.String[] ?</p>