Are JavaScript event listeners kept when a scene is changed?

I’ve embedded my game in another platform and set up event listeners in JavaScript for calls to the platform’s APIs, and these are working fine.

From some of the testing I’ve done, it appears that the event listeners are not cleared or reset when a new scene is started. Can anyone confirm my assumption that this is the correct GDevelop behaviour?

[edited]
oops, I missed out a very important word…