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, December 21, 2024 at 11:40:17 AM
Tag arguments
[]
Code
class fromCodePoint {
encode(input) {
return input
.split(",")
.map((chrNum) => String.fromCodePoint(parseInt(chrNum)))
.join("");
}
}