`if (!options) { ... }` will be better.