My server returns value as support\\testing. When I get this value in client it can be escaped as support testing. \\t is escaped
support\\testing
support testing
\\t
You can use tagged template literals
var str = (s => s.raw)`support\testing`[0]
The anonymous arrow function will serve as tag and s.raw contains the original input
s.raw