Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http: add callback is function check
We were checking that the callback existed, but not checking that it was a function. In `setTimeout`, if callback is truthy but not a function, throw a TypeError Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> PR-URL: #3090
- Loading branch information