let sum = [1, 2, 3, 4, 5].reduce((x, y) => x += y); console.log(sum);
Copyright © 2023 Powered by MWeb, 湘ICP备2021013552号-1
TOP