I’m looking for the “right” method to determine the list separator in user’s Culture. 
Right now I’m using this code: 

```
private static SetSeparator() {
    var list = ['a', 'b'];
    var s = list.toLocaleString();
    var sep = s[1];
    CSVGenerator.Delimiter = sep;
}

```

It works, but seems a little hacky. I’m wondering if there is a documented way to get a local list separator in Typescript (or JavaScript). 

I need this information to correctly generate CSV files on the client side. 
Thanks