JavaScript Design Patterns Help Needed: Loose Augmentation of Modules
问题 Edit for clarity - @Qantas94Heavy - I understand what it is "saying" or supposed to do, what I don't understand is why & more importantly how it works: I was reading an advanced tutorial on the JS Module Pattern, and it gave this example: var MODULE = (function (my) { // add capabilities... return my; }(MODULE || {})); The thing that is bugging me (and I need your help with) is the last statement: (MODULE || {})); i'm having trouble understanding the syntax rules behind this that make it