We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am passing an array to a function to sort it and return the median value. I do not want the global array to be sorted. I only want the array to be sorted within the function. I thought that when a variable was passed to a function, a copy was made for the function. Apparently I am wrong about this??? Thanks, Carroll.