backslash n
This commit is contained in:
1 parent
6a66e44433
commit
ecfdb0fceb
1 file changed
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
let arr = Array.from({length: 10}, () => Math.random().toFixed(2));
|
let arr = Array.from({length: 10}, () => Math.random().toFixed(2));
|
||||||
document.write("<h1>Min-Max-Finder</h1>");
|
document.write("<h1>Min-Max-Finder</h1>");
|
||||||
document.write(arr);
|
document.write(arr);
|
||||||
document.write("Minimum: " + Math.min(...arr));
|
document.write("Minimum: " + Math.min(...arr) + "\n");
|
||||||
document.write("Maximum: " + Math.max(...arr));
|
document.write("Maximum: " + Math.max(...arr));
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in new issue
Block a user