Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81270 / js2html / hello.js
diff options
context:
space:
mode:
1 files changed, 13 insertions, 0 deletions
-rw-r--r--homework/81270/js2html/hello.js13
diff --git a/homework/81270/js2html/hello.js b/homework/81270/js2html/hello.js
new file mode 100644
index 0000000..d2e6b0b
--- /dev/null
+++ b/homework/81270/js2html/hello.js
@@ -0,0 +1,13 @@
+// Single line comment
+
+const someVariable = 3.14e+2;
+const someString = 'Escaped \' string!';
+const someTemplate = `A simple one`;
+const someRegex = /[0-9]+/i;
+
+/**
+ Multiline comment
+ */
+function foo() {
+ return [] instanceof Array;
+} \ No newline at end of file