This could be combined with the previous conditional
```js
if ( value || value === 0) )
```
the typeof can probably be skipped since you are using a strict comparison