📜  javascript代码示例中的fromcharcode

📅  最后修改于: 2022-03-11 15:03:19.037000             🧑  作者: Mango

代码示例1
// String.fromCharCode() converts an ascii value to its character equivalent

// Decimal to Text
String.fromCharCode(97) // "a"

// Hex to Text
String.fromCharCode(0x21) // "!"

// Binary to Text
String.fromCharCode(0b01001010) // "J"