print years in descending order javascript
by Ramya[ Edit ] 2012-07-07 10:46:37
print years in descending order javascript
print years in descending order javascript
function disp(){
var getDate = new Date();
var curyea = getDate.getFullYear();
for(i=curyea;i>1987;i--){
document.write (i+"
");
}
}
disp();