Do this str = str.replace(/[{}]/g, "");
↧
Do this str = str.replace(/[{}]/g, "");