题解 | #模块#

模块

http://www.nowcoder.com/practice/48e53feaabe94506a61300edadb5496d

function createModule(str1, str2) {
    this.greeting=str1;
    this.name=str2;
    this.sayIt=()=>this.greeting+', '+name;
    return this;
}
全部评论

相关推荐

点赞 评论 收藏
转发
3 收藏 评论
分享
牛客网
牛客企业服务