mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
16 lines
220 B
JavaScript
16 lines
220 B
JavaScript
/**
|
|
* @constructor
|
|
*/
|
|
function Outer() {
|
|
/**
|
|
* @constructor
|
|
*/
|
|
function Inner(name) {
|
|
/** The name of this. */
|
|
this.name = name;
|
|
}
|
|
|
|
this.open = function(name) {
|
|
return (new Inner(name));
|
|
}
|
|
} |