找问题

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>pratise</title>
    <script type="text/javascript">
      
    var  sum = 0,
         parameter; 
    function add(arguments){
        for(var i=0;i<arguments.length;i++){
            parameter = arguments[i];
            sum += parameter;
        }
        return sum;
    }
    console.log(add(2,3));  //0
    console.log(add(2,3,4));//0
    console.log(add(2,3,4,5));//0

    </script>
</head>
<body>

</body>
</html>```

推荐阅读更多精彩内容