[英]Difference between module and closure
I am not experienced with javascript. 我对javascript没有经验。 I am wondering what's the difference between closure and module ?
我想知道闭包和模块之间有什么区别? Can anyone explain to me with a example?
有人可以举例说明吗?
Read this: Closure for Dummies 阅读此: 封闭假人
A module is just a class that can stand by its own.And can be combined with other classes. 模块只是一个可以独立存在的类,并且可以与其他类结合使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.