Frage
Antwort
Code nochmal:
var a = 64; b = 64; c = 64; function bgColor() { a++; b++; c++; document.body.style.backgroundColor= 'rgb(' + a + ',' + b + ',' + c + ')'; } for (var i = 1; i < 200; i++) { setTimeout(function alois(){ bgColor(); }, 1000) document.write(a); }