diff options
author | Stephan Unverwerth <s.unverwerth@gmx.de> | 2020-03-14 11:45:25 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-14 12:13:53 +0100 |
commit | c0e623421972606adf41616d7be82e42d820658c (patch) | |
tree | 28368c7ade04d19b1643ce6f0690a9b093d31760 /Base/home | |
parent | d439013903a1e9ecfc8c8716bd88dbceb8314a6a (diff) | |
download | serenity-c0e623421972606adf41616d7be82e42d820658c.zip |
LibJS: Lex single quote strings, escaped chars and unterminated strings
Diffstat (limited to 'Base/home')
-rw-r--r-- | Base/home/anon/js/strings.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Base/home/anon/js/strings.js b/Base/home/anon/js/strings.js new file mode 100644 index 0000000000..d707bf090d --- /dev/null +++ b/Base/home/anon/js/strings.js @@ -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 |