code: function(list, index) {
              if ((index.type !== "Dimension") ||
                   !index.unit.isEmpty())
                      return atKey(list, index);
  
              list = isArray(list.value)
                  ? list.value : [list];
              return list[index.value - 1];
          }
docs: ....................................................