Multiple statements inside a conditional operator
<p>HI,
I need to write multiple statements inside a conditional operator.</p>

<p>What will be the equivalent of this if condition with conditional operator</p>

<pre><code>var name;
var age;
var passed;

if ( arg == "first" )
{
     name = "John";
     age = "25";
     passed = false;
}
else
{
     name = "Peter";
     age = "29";
     passed = true;
}
</code></pre>
