I take user-input (JS code) and execute (process) them in realtime to show some output.
Sometimes the code has those zero-width spaces; it's really weird. I don't know how the users are inputting that. Example: "(?$".length === 3
I need to be able to remove that character from my code in JS. How do I do so? or maybe there's some other way to execute that JS code so that the browser doesn't take the zero-width space characters into account?
Question&Answers:os