Please assist in this Pairwise challenge

Please assist in this Pairwise challenge
0

#1

Tell us what’s happening:

Your code so far

function pairwise(arr, arg) {
  return arg;
}

pairwise([1,4,2,3,0,5], 7);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36.

Link to the challenge:


#2

Can you please share your written algorithm, so we can make sure you are on the right path before you attempt to write code?

If you run the tests now, do you understand the results? If not, please ask more questions so we can guide you toward an understanding.