Update
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user