This commit is contained in:
2019-05-13 14:16:40 +02:00
parent 792ee02a27
commit dd65f3679c

View File

@@ -2,7 +2,7 @@
<head> <head>
<title>Min-Max</title> <title>Min-Max</title>
</head> </head>
<body>
<script> <script>
let arr = Array.from({length: 10}, () => Math.floor(Math.random() * 1)); let arr = Array.from({length: 10}, () => Math.floor(Math.random() * 1));
@@ -10,5 +10,6 @@
document.write("Minimum: " + arr.min()); document.write("Minimum: " + arr.min());
document.write("Maximum: " + arr.max()); document.write("Maximum: " + arr.max());
</script> </script>
</body>
</html> </html>