let notas = [58,47,75,100,98]; let notaMinima = 60; let soma = 0; for (let nota of notas) { soma += nota; } let media = soma / notas.length;
let tarefas = ["Varrer", "Construir", "Remendar"]; tarefas.push("Explodir"); tarefas.unshift("Implodir"); let tarefas2 = tarefas.slice(1, 3); let tarefasExtras = ["Remover vegetação", "Desmontar bomba de hidrogênio"]; tarefas2.shift();