With ES2018 is there a more robust way to create this topic list, (What I want is the numbers to be auto-generated).
const Topics = {
    NullTopic: 0,
    simActorStateTest: 1,
    navActorStateTest: 2,
    simTelemetryVenom11: 3,
    navTelemetryVenom11: 4,
    simTelemetryVenom12: 5,
    navTelemetryVenom12: 6,
    scenarioStart: 7,
    scenarioEnd: 8,
}
 
    