How many times will the following loop execute?

var num = 10;

while ( num > 0 )
{

document. getElementById("outputDiv").innerHTML = document. getElementById("outputDiv").innerHTML +" "+num + "
";
}

1

10

0

infinite times