From c0e623421972606adf41616d7be82e42d820658c Mon Sep 17 00:00:00 2001 From: Stephan Unverwerth Date: Sat, 14 Mar 2020 11:45:25 +0100 Subject: LibJS: Lex single quote strings, escaped chars and unterminated strings --- Base/home/anon/js/strings.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Base/home/anon/js/strings.js (limited to 'Base') 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 -- cgit v1.2.3