function Outer() { this.y = 2 } Outer.Inner = function() { this.yy = 2 }