阅读背景:

NodeJS - 如何在自执行函数中将构造函数分配给module.exports?

来源:互联网 

I'm trying to assign a constructor in a self-executing function in NodeJS. I'm pretty sure it's not working because my parameter is a variable pointing to module.exports, but I'm curious if there's a way to make it work while staying as close to the self-executing format as possible. I'm trying to assign a constructor in a self-ex




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: