function getParamSlots(maxArgs) {

  const arr = [];
  for (let i = 0; i < maxArgs; i++) {
    arr.push({ name : ('arg' + i) });
  }

  return arr;

}
unfortunately tw forces us to specify params in advance so I
will reserve some argument slots here.
@private