Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the
isNaN
sanitizer in kill(..)
.
The `isNaN(..)` method returns a boolean, therefore the result of the `typeof isNaN(pid)` expression will always be `"boolean"`, therefore the condition in the if-statement is always truthy. The fix is simply to remove the `typeof`.
- Loading branch information