简单类型 / 字符类型

// \' for a single quote.
let c1 = '\''

// \" for a double quote.
let c2 = '\"'

// \\ for a backslash.
let c3 = '\\'

// \0 for a null character.
let c4 = '\0'

// \b for a backspace.
let c5 = '\b'

// \n for a new line.
let c6 = '\n'

// \r for a carriage return.
let c7 = '\r'

// \t for a horizontal tab.
let c8 = '\t'

// \v for a vertical tab.
let c9 = '\v'

// \x for a unicode character hex value.
let c10 = '\x41' // Symbol A

console.log("c1 = \"" + c1 + "\"")
console.log("c2 = \"" + c2 + "\"")
console.log("c3 = \"" + c3 + "\"")
console.log("c4 = \"" + c4 + "\"")
console.log("c5 = \"" + c5 + "\"")
console.log("c6 = \"" + c6 + "\"")
console.log("c7 = \"" + c7 + "\"")
console.log("c8 = \"" + c8 + "\"")
console.log("c9 = \"" + c9 + "\"")
console.log("c10 = \"" + c10 + "\"")