1function Foo() { 2 this.x = 123; 3} 4 5var foo = new Foo(); 6if (foo.x === 123) 7 console.log("PASS");