javascript函数参数默认值怎么写

2025-05-07 03:59:07
推荐回答(1个)
回答1:

function myfun(arg0){
    arg0 = arg0 || "默认值";
    //......
}