fromCodePoint

Splits the input into an array then calls String.fromCodePoint

Created by: hackvertor
Installed 1 times

Category: String

Created on: Thursday, September 12, 2024 at 11:16:34 PM

Updated on: Saturday, March 22, 2025 at 8:31:20 AM

This is a built in tag
Tag arguments
[]
Code
class fromCodePoint {
  encode(input) {
    return input
      .split(",")
      .map((chrNum) => String.fromCodePoint(parseInt(chrNum)))
      .join("");
  }
}