AjScript.Tests.EvaluationTests.NewEmptyObjectUsingPrototype C# (CSharp) Method

NewEmptyObjectUsingPrototype() private method

private NewEmptyObjectUsingPrototype ( ) : void
return void
        public void NewEmptyObjectUsingPrototype()
        {
            this.EvaluateCommands("var x = {}; Object.prototype.y = 10; result = x.y;");
            Assert.AreEqual(10, this.machine.Context.GetValue("result"));
        }
EvaluationTests