Dna pairing, solved but unaccepted

I solved the challenge, but it don’t accept my solution.

  **Your code so far**

function pairElement(str) {

let pairW = [];
let pairR = [];
pairW = Array.from(str);
    console.log(pairW);
 for (var i = 0; i < pairW.length; i++)
   {
    if (pairW[i] == "A") { pairR.push("T");}
     if (pairW[i] == "T") {  pairR.push("A");}
      if (pairW[i] == "G") {  pairR.push("C");}
       if (pairW[i] == "C") {  pairR.push("G");}
   
   }
//   
let pairL = [];
  for (var i = 0; i < pairW.length; i++)
  {
    let pairX = [pairW[i],pairR[i]];
    pairL.push(pairX)
  }
  console.log(pairL)

return pairR;
}

pairElement("ATCGA");
  **Your browser information:**

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

Challenge: DNA Pairing

Link to the challenge:

It is solved and accepted, the mistake was mine, because I return a wrong array;