Задача: 2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Задача 1</title>
</head>
<body>
<script type="text/javascript">
var mas = [],
masElem,
i,
i_plus = 1;
for(i = 0; i <= 9; i += 1) {
masElem = prompt('Введите ' + i_plus + ' элемент масива');
mas.push(masElem);
i_plus += 1;
}
document.write(mas.reverse());
</script>
</body>
</html>