I am writing a function queue which takes an array (arr) and a number (item) as arguments. Then I add the number to the end of the array, and remove the first element of array. The function should then return the element that was removed.I am writing a function queue which takes an ar