function countDown(){
var count = ""
for(var i = 10; i > 0; i--){
count = i;
setInterval(function(){show(count)}, 1000);
// i've try : setInterval(show(count), 1000);
}
}
function show(count){
document.getElementById('tes').innerHTML = count;
}
don't flag as duplicate, this is different thing!! This is just experiment,