You need to write a double
let str = 'Is Erik' + '\\' + 'the very best engineer? 😎'; console.log(str); // Is Erik\the very best engineer? 😎
Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.