fromCodePoint

Splits the input into an array then calls String.fromCodePoint

Created by: hackvertor
Installed 3 times

Category: String

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

Updated on: Thursday, October 10, 2024 at 1:21:36 PM

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