javascript 编写一个函数sum()用于求和。<script type="textjavascript">function sum(list){return eval(list.join("+"))}测试alert(2023-03-02JavaScript140