javascript array assign to multiple variable : i got a bit logic problem. i wan't to assign array to several variable. but it's doesn't work. appreciate for your help.

    function Case(values){
      var x = values;
      var A = [];
      var B = [];
      var C = [];
      var temp = 0;    
      
      A.push(values[i]);
      B.push(values[i]);
      C.push(values[i]);
    }
    
    var values = [5, 4, 3, 6, 7 , 8];
    
    Case(values);

Output expect:
 
    A = [5, 6];
    B = [4, 7];
    A = [3, 8];    