mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 03:35:07 +00:00
LibJS: Lex single quote strings, escaped chars and unterminated strings
This commit is contained in:
parent
d439013903
commit
c0e6234219
5 changed files with 33 additions and 4 deletions
7
Base/home/anon/js/strings.js
Normal file
7
Base/home/anon/js/strings.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
var d = "Double quoted string";
|
||||
var s = 'Single quoted string';
|
||||
var e = "Escaped characters \n \" \t \\"
|
||||
var u = "Unterminated string
|
||||
this is not possible in js"
|
||||
|
||||
var u2 = 'This is neither
|
Loading…
Add table
Add a link
Reference in a new issue