26 let msg = context.message;
27 let messageId = msg.message_id;
28 let topic = msg.application_properties.topic;
29 let content =JSON.parse(Buffer.from(msg.body.content).toString().replace(/\'/g, '"'));30 if (topic.indexOf('/user/update') !== -1) {
31 console.log("\nTopic: " + topic)
32 if (content.subType === "SCAN") {
Escaping non-special characters in strings, template literals, and regular expressions doesn't have any effect.
"\'";
'\"';
"\#";
"\e";
`\"`;
`\"${foo}\"`;
`\#{foo}`;
/\!/;
/\@/;
"\"";
'\'';
"\x12";
"\u00a9";
"\371";
"xs\u2111";
`\``;
`\${${foo}}`;
`$\{${foo}}`;
/\/g;
/\t/g;
/\w\$\*\^\./;