function codePointsToString(codePoints) {
  let s = '';
  let i = 0;
  const length = codePoints.length;
  const BATCH_SIZE = 10000;
  while (i < length) {
    const end = Math.min(i + BATCH_SIZE, length);
    const slice = codePoints.slice(i, end);
    s += String.fromCodePoint.apply(null, slice);
    i = end;
  }
  return s;
}
/**
 * Produces a String given an array of UTF-16 codepoints.
 *
 * @param {Number[]} codePoints An array of codepoints to convert to a String
 */
Produces a String given an array of UTF-16 codepoints.
@param {Number[]} codePoints An array of codepoints to convert to a String
Produces a String given an array of UTF - 16 codepoints . @param { Number [] } codePoints An array of codepoints to convert to a String
function codePointsToString(codePoints) {
  let s = '';
  let i = 0;
  const length = codePoints.length;
  const BATCH_SIZE = 10000;
  while (i < length) {
    const end = Math.min(i + BATCH_SIZE, length);
    const slice = codePoints.slice(i, end);
    s += String.fromCodePoint.apply(null, slice);
    i = end;
  }
  return s;
}
function codePointsToString ( codePoints ) { let s = '' ; let i = 0 ; const length = codePoints . length ; const BATCH_SIZE = 10000 ; while ( i < length ) { const end = Math . min ( i + BATCH_SIZE , length ) ; const slice = codePoints . slice ( i , end ) ; s += String . fromCodePoint . apply ( null , slice ) ; i = end ; } return s ; }
Produces a String given an array of UTF-16 codepoints.
Produces a String given an array of UTF - 16 codepoints .