(JSFunction func, Integer delay)
| 114 | } |
| 115 | |
| 116 | @Keep |
| 117 | @JSMethod |
| 118 | public Integer setTimeout(JSFunction func, Integer delay) { |
| 119 | Timeout timeout = createTimeout(func); |
| 120 | if (timeout == null) return 0; |
| 121 | return schedule(timeout, delay) ? timeout.id : 0; |
| 122 | } |
| 123 | |
| 124 | @Keep |
| 125 | @JSMethod |
no test coverage detected