Defining a defualt value for my javascript function parameter will raise the following error on IE " SCRIPT1006: Expected ')'" : <p>I have the followig function inside my javascript file:-</p>

<pre><code>function showOrHideField(curField="") {
</code></pre>

<p>where i am defining a function which take a parameter with defualt value <code>""</code>, now this is working well on Firefox. but on IE11 i got the following exception:-</p>

<pre><code>SCRIPT1006: Expected ')'
</code></pre>

<p>so can anyone advice on this please?
Thanks</p>
