Convert this "new string[] { "1d05fdcdaa71afd8" }" from C# to Javascript

Hello.
I need to convert this to javascript.
new string { “1d05fdcdaa71afd8” }

I found no way to make it work.

you could show a little more of the code for context… It seems you’re trying to initialize a string array with one member “1d05fdcdaa71afd8”… I assume that’s not the entire line shown… something like :

string whatever = new string { “1d05fdcdaa71afd8” };

if so, in javascript, you could just say:

var whatever = [“1d05fdcdaa71afd8”];