/tags/jsdoc_toolkit-2.4.0/jsdoc-toolkit/app/test/static_this.js
http://jsdoc-toolkit.googlecode.com/ · JavaScript · 13 lines · 7 code · 3 blank · 3 comment · 0 complexity · 33a439de0c2f2ba9e3b0e903a80c18c3 MD5 · raw file
- /** the parent */
- var box = {};
- /** @namespace */
- box.holder = {}
- box.holder.foo = function() {
- /** the counter */
- this.counter = 1;
- }
- box.holder.foo();
- print(box.holder.counter);