function inSurrogateRange(codeUnit) {
  return 0xD800 <= codeUnit && codeUnit <= 0xDFFF;
}
@param {number} codeUnit   A Unicode code-unit, in range [0, 0x10FFFF]
@return {boolean}      Whether code-unit is in a surrogate (hi/low) range