Get rid of a character by jsfiddle

jsFiddle seems to put the character in invisible scripts and call erros when javascript is copied / pasted into another editor and launched. I know that the simple answer is simply not to copy / paste from this site. But suppose this was done, and you have to find the character in your document: is there any online tool that you can use, show invisible characters and help remove them?

+4
source share
1 answer

The invisible character added by jsFiddle is U + 200B (dec 8203) and is called "ZERO SHIRIN SPACE". You can remove it with .replace('\u200b','')

Oddly enough, here is a violin for him.

+6
source

Source: https://habr.com/ru/post/1447083/


All Articles