chinchang / web-maker

A blazing fast & offline frontend playground
https://webmaker.app
MIT License
2.58k stars 316 forks source link

string issues #371

Open CodeThePeace opened 5 years ago

CodeThePeace commented 5 years ago

Meta info

There is an unusual problem that strings are not allowed unless they are copied from another source. For example, a user typing in: var person = ¨John Doe¨;

will not get the same result as a user copying the exact same line of code from w3schools script variables pages.

chinchang commented 5 years ago

Hi! Can you elaborate a little more about the issue please. Can you confirm that you are writing JavaScript in the JS panel only, if you are on Chrome extension?

As for the above code, it has illegal characters and so it doesn't run. The quotes in your code are wrong. It should be like this -> var person = "John Doe";

CodeThePeace commented 5 years ago

Thanks, you are correct. I was using Unicode 00A8 rather than U-0022.