This should instead check for a function
```
if (typeof(callBack) === "function") {
```
Otherwise we could pass the value "hello world" as the callback and it isn't undefined, so it would try calling it as a function.