static map(iterable, mapping) {
    const array = [];
    for (const x of iterable) {
      array.push(mapping(x));
    }
    return array;
  }
@param {!Iterable<FROM>} iterable
@param {function(FROM):TO} mapping
@return {!Iterable<TO>}
@template FROM,TO