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: Monday, September 16, 2024 at 8:15:13 PM

This is a built in tag

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