Compteur de visites

Publié le


var counter = 1002; var scrap = counter; document.write(''); for (var i = 7; i >= 1; i--) { var divisor = Math.pow(10, i - 1); var remainder = counter % divisor; var digit = ((scrap - remainder) / divisor); document.write('' + digit + ''); scrap = remainder; } document.write('');



var counter = 1002; var scrap = counter; document.write(''); for (var i = 7; i >= 1; i--) { var divisor = Math.pow(10, i - 1); var remainder = counter % divisor; var digit = ((scrap - remainder) / divisor); document.write('' + digit + ''); scrap = remainder; } document.write('');

Pour être informé des derniers articles, inscrivez vous :
Commenter cet article