Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81709 / JSCompiler.SyntaxHighlighter / test / test.js
diff options
context:
space:
mode:
Commitaeb0d4f887a0c18c36b59acc7b5df08e62020c50 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-10-11 21:32:48 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-10-11 21:33:38 +0300
Filesb6abdc6e1810326b587f2a160f39570f1f568f27 /homework/81709/JSCompiler.SyntaxHighlighter/test/test.js
IPL-aeb0d4f887a0c18c36b59acc7b5df08e62020c50.tar
IPL-aeb0d4f887a0c18c36b59acc7b5df08e62020c50.tar.gz
IPL-aeb0d4f887a0c18c36b59acc7b5df08e62020c50.zip
Parent154b7cd30f21af1554ca26986ff1643e28857727 (diff)
Removed old homeworks
1 files changed, 0 insertions, 23 deletions
-rw-r--r--homework/81709/JSCompiler.SyntaxHighlighter/test/test.js23
diff --git a/homework/81709/JSCompiler.SyntaxHighlighter/test/test.js b/homework/81709/JSCompiler.SyntaxHighlighter/test/test.js
deleted file mode 100644
index 537e59f..0000000
--- a/homework/81709/JSCompiler.SyntaxHighlighter/test/test.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-** This is a test function to demonstrate syntax highlighting!
-*/
-function myFunction() {
- var res = "";
- res = res +isNaN(123) + ": 123";
- res = res + isNaN(-1.23) + ": -1.23";
- res = res + isNaN(5-2) + ": 5-2";
- res = res + isNaN(0) + ": 0";
- res = res + isNaN('123') + ": 123
- ";
- //oops!
- res = res + isNaN(true) + ": true";
- res = res + isNaN(undefined) + ": undefined \
- nextString \
- ";
- res = res + isNaN('NaN') + ": NaN 'Hell no'";
- res = res + isNaN(NaN) + ': NaN \\n \';
- res = res + isNaN(0 / 0) + ": 0 / 0 \ ";
-
- document.getElementById("demo").innerHTML = res;
-}
-//Cool, it works! \ No newline at end of file