- [ ] Avoid `return` statements in the middle of a function. Wrap code in conditionals to control/prevent code execution.
```js
if (typeof text === 'string') {
	...
}
else {
	...
}
```