let big1 = ('B$ig d$reams pay$')
let big2 = big1.replace(/\$/gi, "")
console.log(big2)
what's the logic of using /\ in this case
let big1 = ('B$ig d$reams pay$')
let big2 = big1.replace(/\$/gi, "")
console.log(big2)
what's the logic of using /\ in this case