MV Javascript SelfGameSwitch Math

Hello! I'd like to transform this simple self switch:
$gameSelfSwitches.setValue([138, 38, 'A'], true)

into a game event id + 1 field --> $gameSelfSwitches.setValue([138, EVENTid+1, 'A'], true)

Look like this won't work:
$gameSelfSwitches.setValue([138, this.eventId()+1, 'A'], true)

How can I script it?

EDIT: I'm dumb. I was missing the ().
You can remove the thread. Sorry.
Thread closed

I'll leave this thread here and lock it. Even though you solved it yourself before anyone else assisted you, it will still be helpful for other people wanting to manipulate self switches in the future.

Original thread: https://forums.rpgmakerweb.com/threads/javascript-selfgameswitch-math.141558/