Update
This commit is contained in:
@@ -4,11 +4,10 @@
|
||||
</head>
|
||||
<body style="text-align: center;">
|
||||
<script>
|
||||
|
||||
let arr = Array.from({length: 10}, () => Math.random().toFixed(2));
|
||||
document.write("<h1>Min-Max-Finder</h1>");
|
||||
document.write(arr);
|
||||
document.write("Minimum: " + Math.min(...arr) + "</br>");
|
||||
document.write("<h1>Min-Max-Finder</h1>");
|
||||
document.write(arr + "</br>");
|
||||
document.write("Minimum: " + Math.min(...arr) + "</br>");
|
||||
document.write("Maximum: " + Math.max(...arr));
|
||||
</script>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user