summaryrefslogtreecommitdiff
path: root/Base/home/anon/Source/js/strings.js
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home/anon/Source/js/strings.js')
-rw-r--r--Base/home/anon/Source/js/strings.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/Base/home/anon/Source/js/strings.js b/Base/home/anon/Source/js/strings.js
new file mode 100644
index 0000000000..1928d61d6f
--- /dev/null
+++ b/Base/home/anon/Source/js/strings.js
@@ -0,0 +1,12 @@
+var d = "Double quoted string\n";
+console.log(d);
+var s = 'Single quoted string\n';
+console.log(s)
+var e = "Escaped characters \b \f \n \r \t \v \' \" \\ \n";
+console.log(e)
+var u = "Unterminated string
+ this is not possible in js\n";
+console.log(u);
+
+var u2 = 'This is neither\n
+console.log(u2);