Fix
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
let arr = Array.from({length: 10}, () => Math.floor(Math.random() * 2));
|
let arr = Array.from({length: 10}, () => Math.random());
|
||||||
document.write(arr);
|
document.write(arr);
|
||||||
document.write("Minimum: " + Math.min(...arr));
|
document.write("Minimum: " + Math.min(...arr));
|
||||||
document.write("Maximum: " + Math.max(...arr));
|
document.write("Maximum: " + Math.max(...arr));
|
||||||
|
Reference in New Issue
Block a user