Solucion: Superman quedó fuera por un pelo
El codigo:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
document.write("<h1>Reto Heroes</h1>");
function saltarLinea () {
document.write("<br>");
}
function imprimir(frase) {
document.write(frase);
saltarLinea();
}
const heroes = ["Superman", "Thor", "Batman", "Mujer Maravilla"];
for (let i = 0; i < heroes.length; i++) {
imprimir(heroes[i]);
}
</script>
<title>Reto Heroes</title>
</head>
<body>
</body>
</html>