public void ExceptionHandlingStatementProducesTryCatch() { var t1 = JS.Try(JS.Return()).Catch(E, Alert.Call(E)); Assert.AreEqual("try{return;}catch(e){alert(e);}", t1.ToString()); }
public void ExceptionHandlingStatementProducesTryCatch() { var t1 = JS.Try(JS.Return()).Catch(E, Alert.Call(E)); Assert.AreEqual("try{return;}catch(e){alert(e);}", t1.ToString()); }