Fix docs in `mapValues` and `sample`. [ci skip]
Add `thisArg` to `tap`.