title: using javascript variable in view @model list
body: <p>if my view's model is </p>
  
  <pre><code>@model List&lt;myModel&gt; 
  </code></pre>
  
  <p>can I do the following in javascript</p>
  
  <pre><code>&lt;script&gt;
   var someint = 0;
   var modelValue = @Model[someint].myValue;
  &lt;/script&gt;
  </code></pre>