toString()
var answer = new Boolean(true)
if (answer.toString() == "true")
{
// Other statements here
}
Close