mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
14 lines
185 B
JavaScript
14 lines
185 B
JavaScript
/** the parent */
|
|
var box = {};
|
|
|
|
/** @namespace */
|
|
box.holder = {}
|
|
|
|
box.holder.foo = function() {
|
|
/** the counter */
|
|
this.counter = 1;
|
|
}
|
|
|
|
box.holder.foo();
|
|
print(box.holder.counter);
|