Please sign in to comment.
Check for config via NOT
Until yesterday, this was `if (config == null)`, which checks for a certain falseyness of `config`. This was changed yesterday to `if (config === null)` which checks if `config` is, in fact, `null`. The problem is that when calling a function without a parameter, then the paramter is `undefined`. So maybe we should check for `if (config === undefined)` but I figure its easier and clearer to check `if (!config)`
- Loading branch information...