/// <summary> /// This is a javascript application. /// </summary> /// <param name="page">HTML document rendered by the web server which can now be enhanced.</param> public Application(IApp page) { var a = new[] { 5, 6, 7, 8, 9 }; foreach (var item in a.Skip(2).Take(2)) { new IHTMLDiv { innerText = "" + item }.AttachToDocument(); } }