I'm passing dictionary to my view and I'm using razor to pass it to JS.
My Code :
var data = [];
@foreach(var tmp in Model){
<text> data.push([ @tmp.Key,@tmp.Value]); </text>
}
My problem is that the code after it won't work. What am I missing out?