79827429

Date: 2025-11-22 16:35:15
Score: 1
Natty:
Report link
function get2cols (rng,x,y){
// Returns two particular columns of a two dimensional array or range

  var rtn = [];
  rng.forEach((item) => {
    rtn.push([item[x],item[y]]);
  });
  return rtn;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matt Colebourne