I am new to AppsScript/Javascript and trying to learn what this code passage does. In it, the author writes
var Content = (function (ns) {
ns.makeContent = function (e) {
}
return ns;
}) (Content || {});
and is able to call Content
by
function doPost(e) {
return Content.makeContent (e);
}
What does it mean to have a variable assignment statement that reads var ... = (...) (...);
?