title: How to pass array from controller to javascript?
body: <p>I want to pass array (2 dimension) from controller to javascript variable. I use session to pass but this not work. In javascript code I use like this:</p>
  
  <pre><code> var data = '&lt;%= Session["LatLon"] %&gt;';
  </code></pre>
  
  <p>when run project and use inspect element, there is in data :</p>
  
  <p><a href="https://i.stack.imgur.com/g4ieq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g4ieq.png" alt="enter image description here"></a></p>
  
  <p>how to pass? Can i Pass array with 2 dim with session?</p>