generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const ESCAPED_CHARACTERS = /(\\|\"|\')/g;
|
||||
|
||||
module.exports = function printString(val) {
|
||||
return val.replace(ESCAPED_CHARACTERS, '\\$1');
|
||||
}
|
||||
Reference in New Issue
Block a user