src/unicodeToCodepoint.js
function toCodePoint(input, separator = "-") {
  const codePoints = [];
  for (let codePoint of input) {
    codePoints.push(codePoint.codePointAt(0).toString(16));
  }
  return codePoints.join(separator);
}
function toCodePoint(input, separator = "-") {
  const codePoints = [];
  for (let codePoint of input) {
    codePoints.push(codePoint.codePointAt(0).toString(16));
  }
  return codePoints.join(separator);
}
function toCodePoint ( input , separator = "-" ) { const codePoints = [ ] ; for ( let codePoint of input ) { codePoints . push ( codePoint . codePointAt ( 0 ) . toString ( 16 ) ) ; } return codePoints . join ( separator ) ; }
convert utf16 into code points
convert utf16 into code points