I've been trying a new function to my program, this program has the purpose of making it easier to search for elements within an array, all these elements are unique, one way to find them and deliver them is by a rank, giving two parameters in the endpoint (start and end) when the user sets the start value and the end value, the program returns the values between these two, perfect. But it also has another option where the user can specify only some elements of the array and thus only show these in the program ...