Esempio n. 1
0
        public void ExceptionHandlingStatementProducesTryCatch()
        {
            var t1 = JS.Try(JS.Return()).Catch(E, Alert.Call(E));

            Assert.AreEqual("try{return;}catch(e){alert(e);}", t1.ToString());
        }