unicodeWhitespace
This tags returns all unicode whitespace
Created by: hackvertor
Installed 1 times
Category: String
Created on: Tuesday, November 5, 2024 at 8:26:35 AM
Updated on: Wednesday, November 6, 2024 at 2:17:27 PM
Tag arguments
[]
Code
class unicodeWhitespace {
encode(input) {
return [
9, 10, 11, 12, 13, 32, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197,
8198, 8199, 8200, 8201, 8202, 8232, 8233, 8239, 8287, 12288, 65279,
]
.map((c) => String.fromCodePoint(c))
.join("");
}
}