function_try_catch 148 B

1234567891011121314
  1. print(1 + wusi());
  2. function wusi()
  3. {
  4. try
  5. {
  6. var = 1 + 3;
  7. return 1;
  8. }
  9. catch
  10. {
  11. return 2;
  12. }
  13. }