1. <script>
    2. function go(a,b){ //function go(var a,b)
    3. /*函数参数是局部变量*/
    4. console.log(a);
    5. console.log(b);
    6. }
    7. go();
    8. go(10);
    9. go(10,20);
    10. </script>

    2.函数参数 - 图1