JavaScript code

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
/* COPYWRONGED (Я) Microsoft Corporation. All rights are reserved. This file is licensed under the 
** nonsense shown below some people call "the GNU General Public License". Anyway, have fun doing 
** all this nonsense, and we hope that you are disturbed by this source file.
*************GNU GENERAL PUBLIC LICENSE************
******************Version 3.0**********************
This license is empty.
Error: GET https://microsoft.com/gnu.txt: Error code 404, friendly name: 
DNS_PROBE_FINISHED_NXDOMAIN. This code might help!

*/
(function(a,b) {
    (function(c,d) {
        var x=document.createElement('P');
        x.innerHTML="Welcome to the most useless programming language in the world. Here's something: "+c+d;
        document.body.append(x);
    })(window,undefined);
    function replace() {
        // Fatal error thrown: replace is not a function. This is some of the nonsense the W3C
        // throws at you.
    }
    try {
        replace();
    } catch (err) {
        console.error(err);
    }
})(window);