Check if on map 5 or 7 with conditional branch

Hello, just a quick question. How to use OR and this formula the proper way?
I use it on a conditional brach as a script but with no results

conditional If: (script): $gameMap.mapId() == 7 || $gameMap.mapId() == 5 ||
Your code is correct, you just have to remove the last || symbols, so

$gameMap.mapId() == 7 || $gameMap.mapId() == 5

Alternative:

[7, 5].contains($gameMap.mapId())

Original thread: https://forums.rpgmakerweb.com/threads/check-if-on-map-5-or-7-with-conditional-branch.116763/