Should be:

```javascript
if ( !params ) {
    return;
}
```