есть переменная со значениями
var scores = [60, 50, 60, 58, 54, 54, 58, 50, 52, 54, 48, 69, 34, 55, 51, 52, 44, 51, 69, 64, 66, 55, 62, 51, 46, 31, 57, 52, 44, 18, 41, 53, 55, 61, 51, 44];
<script> var scores = [60, 50, 60, 58, 54, 54, 58, 50, 52, 54, 48, 69, 34, 55, 51, 52, 44, 51, 69, 64, 66, 55, 62, 51, 46, 31, 57, 52, 44, 18, 41, 53, 55, 61, 51, 44]; let out_arr = document.getElementById('out_arr');//получаем параграф out_arr.innerHTML = scores;//выводим </script> <p id="out_arr"></p>