(func, value)
| 4718 | } |
| 4719 | |
| 4720 | function tryCatch(func, value) { |
| 4721 | var out = {}; |
| 4722 | try { |
| 4723 | out.value = func(value); |
| 4724 | out.status = 'success'; |
| 4725 | } catch (e) { |
| 4726 | out.status = 'error'; |
| 4727 | out.value = e; |
| 4728 | } |
| 4729 | return out; |
| 4730 | } |
| 4731 | |
| 4732 | Promise.resolve = resolve; |
| 4733 | function resolve(value) { |
no outgoing calls
no test coverage detected