js-visualizer-9000-client
js-visualizer-9000-client copied to clipboard
UI breaking while pasting a code snippet
I am pasting this code in text box and the ui is breaking.
console.log("3…"); setTimeout(() => { console.log("2…"); setTimeout(() => { console.log("1…"); setTimeout(() => { console.log("Happy New Year!!"); }, 1000); }, 1000); }, 1000);
This is error I am getting.
When I pasted the same on another compiler, It worked completely fine.
the presence of … instead of ... (one's single character and the other's 3 character) breaks it because btoa() inside ShareButton.js(84 line) cannot turn it into base64. funny enough, because i got the SAME problem and it took me a while the issue is the weird 3 dots in the stackoverflow example question.