Boolean object in javascript returns true for "false" parameter
<p>I have a little problem.</p>

<p>I have situations where my ajax calss returns a string.</p>

<p>sometimes that string is "false"
i want to always convert that string value into a boolean
i tried : new Boolean(thatValue)</p>

<p>but it returns true even for "false" as a paremter</p>

<p>is there anyway to solve this? except me writing my own custom function that will return false if "flase" ?..</p>

<p>thank you</p>
