fromcharcode in javascript

Solutions on MaxInterview for fromcharcode in javascript by the best coders in the world

showing results for - "fromcharcode in javascript"
Jerónimo
09 Jan 2021
1// String.fromCharCode() converts an ascii value to its character equivalent
2
3// Decimal to Text
4String.fromCharCode(97) // "a"
5
6// Hex to Text
7String.fromCharCode(0x21) // "!"
8
9// Binary to Text
10String.fromCharCode(0b01001010) // "J"