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