TC39
ord and chr
💡 Ideas
jaroslav.tavgen
November 15, 2020, 11:06am
1
const ord = symbol => symbol.charCodeAt(0);
const chr = charCode => String.fromCharCode(charCode);
Related topics
Topic
Replies
Views
Activity
Character code literals
💡 Ideas
5
314
January 11, 2022
Is it possible to do something like this in Javascript?
I have questions
5
418
June 13, 2022
String.prototype.codePoints()
💡 Ideas
proposal
2
274
February 12, 2022
What is the Unicode Default Case Conversion algorithm?
I have questions
1
495
January 11, 2021
String concatenation like in PHP
💡 Ideas
11
434
September 18, 2022