📅  最后修改于: 2022-03-11 15:01:53.600000             🧑  作者: Mango
var txt = "";
var numbers = [45, 4, 9, 16, 25];
numbers.forEach(myFunction);
function myFunction(value, index, array) {
txt = txt + value + "
";
}