📜  javascript 无限参数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:21.488000             🧑  作者: Mango

代码示例1
Functions can access an array-like object called arguments that contains all the arguments that they received

function print_my_arguments(/**/){
    var args = arguments;
    for(var i=0; i