Hello, I am a newbie JS learner who was given the following quiz. I have tried working with it in a JS sandbox, but I always get errors immediately just getting started. I am also confused by the syntax itself. Is this really JS? Every time I search for info online all the returns I get are for some form of C, not JS. Any info is much appreciated!
Code:
// write code to reverse this string array in place, using a single array.
int[] arr = {3,1,5,7,6}
//
//create missing code here
//
Console.WriteLine(string.Join(",", arr))
//the end results should be the numbers in the array being returned in descending order