AjScript.Tests.EvaluationTests.NewObjectUsingPrototype C# (CSharp) Метод

NewObjectUsingPrototype() приватный Метод

private NewObjectUsingPrototype ( ) : void
Результат void
        public void NewObjectUsingPrototype()
        {
            this.EvaluateCommands("var x = new Object(); Object.prototype.y = 10; result = x.y;");
            Assert.AreEqual(10, this.machine.Context.GetValue("result"));
        }
EvaluationTests