From aeb0d4f887a0c18c36b59acc7b5df08e62020c50 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sun, 11 Oct 2020 21:32:48 +0300 Subject: Removed old homeworks --- .../JSCompiler.SyntaxHighlighter/test/test.js | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 homework/81709/JSCompiler.SyntaxHighlighter/test/test.js (limited to 'homework/81709/JSCompiler.SyntaxHighlighter/test/test.js') 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 -- cgit v1.3.1-26-gb76a