5.函数

代码

    var fun1=function (person) {
        var v1=person+"早上好";
        console.log("ok");
        return v1;
    }

    var f1=fun1("lnzi");
    console.log(f1);

  

原文地址:https://www.cnblogs.com/hbxZJ/p/15170576.html