/** the parent */ var box = {}; /** @namespace */ box.holder = {} box.holder.foo = function() { /** the counter */ this.counter = 1; } box.holder.foo(); print(box.holder.counter);
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 16445 | christiane_renck | Rename/move file(s) | ||
#1 | 16444 | christiane_renck | Adding MergeQuestJS to the Workshop. |