How to add some code inside the JavaScript array?
<p>Enviroment: Visual Studio 2012, MVC4, Razor, Internet Application.</p>

<p>I have a JavaScript array..</p>

<pre><code>var over100 = "@Model.Over100";
var filterarray = [
{
    "name": "Condition",
    "value": "New",
    "paramName": "",
    "paramValue": ""
},
{
    "name": "FreeShippingOnly",
    "value": "false",
    "paramName": "Currency",
    "paramValue": "USD"
},
    ];
</code></pre>

<p>In case of... <code>if(over100 != null)</code></p>

<p>I want...</p>

<pre><code>var filterarray = [
{
    "name": "Condition",
    "value": "New",
    "paramName": "",
    "paramValue": ""
},
{
    "name": "FreeShippingOnly",
    "value": "false",
    "paramName": "Currency",
    "paramValue": "USD"
},
{ 
    "name": "Over100",
    "value": "true",
    "paramName": "",
    "paramValue": ""
},
    ];
</code></pre>

<p>I would like to know all the possible ways, how to do that.</p>

<p>Thank You!</p>
