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

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

private Typeof ( ) : void
Результат void
        public void Typeof()
        {
            Assert.AreEqual("object", this.EvaluateExpression("typeof {}"));
            Assert.AreEqual("object", this.EvaluateExpression("typeof []"));
            Assert.AreEqual("number", this.EvaluateExpression("typeof 42"));
            Assert.AreEqual("number", this.EvaluateExpression("typeof 3.14159"));
            Assert.AreEqual("null", this.EvaluateExpression("typeof null"));
            Assert.AreEqual("undefined", this.EvaluateExpression("typeof undefined"));
        }
EvaluationTests