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: Wednesday, November 20, 2024 at 5:32:24 PM

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