Typescript Variable Within Stringstream Cppreference Enum In Javascript