I'm pulling in some data from an api and console.log in chrome:
Chrome prints it like asdf?klajsd?New line!
I would like to replace the ? character with a <br />
using replace
in javascript. How do I reference that character?
I'm pulling in some data from an api and console.log in chrome:
Chrome prints it like asdf?klajsd?New line!
I would like to replace the ? character with a <br />
using replace
in javascript. How do I reference that character?