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