This commit is contained in:
2019-05-13 14:21:52 +02:00
parent 9194114444
commit 2de0807ca8

View File

@@ -5,7 +5,7 @@
<body>
<script>
let arr = Array.from({length: 10}, () => Math.random());
let arr = Array.from({length: 10}, () => Math.random().toFixed(2));
document.write(arr);
document.write("Minimum: " + Math.min(...arr));
document.write("Maximum: " + Math.max(...arr));