Como remover a barra de barragem da string em JavaScript
string.replace(/\\\//g, "/");
// this is also
let new_arr = arr.replace(/\\/g, "");
Fancy Fly
string.replace(/\\\//g, "/");
// this is also
let new_arr = arr.replace(/\\/g, "");
string.replace(/\\\//g, "/");