I would like to create a private custom event, an event nobody else can dispatch or listen. I tried this, but it does not work:
new CustomEvent(Symbol("validate"));
Is it possible?
I know I can do something like this:
new CustomEvent(crypto.randomUUID());