valueOf()

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

Close