public void NewObjectUsingPrototype() { this.EvaluateCommands("var x = new Object(); Object.prototype.y = 10; result = x.y;"); Assert.AreEqual(10, this.machine.Context.GetValue("result")); }