I have a function that takes a String[] argument. How is it possible that this:
String[] string = {"string1", "string2"};
myFunction(string);
works, whereas this:
myFunction({"string1", "string2"});
doesn't? It gives me the error:
Illegal start of expression not a statement ";" expected