так проще
```js
if (!this.events[eventName]) this.events[eventName] = [];
```