7 lines
145 B
JavaScript
7 lines
145 B
JavaScript
|
var STRING_SUBSTITUTIONS = { // table of character substitutions
|
||
|
'\t': '\\t',
|
||
|
'\r': '\\r',
|
||
|
'\n': '\\n',
|
||
|
'"' : '\\"',
|
||
|
'\\': '\\\\'
|
||
|
};
|