Last active
August 7, 2016 01:59
-
-
Save exander77/9e7770c81b05ed2592eab4819334722b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Solutions for https://gist.github.com/anonymous/d9c26e847c615e3fe8ca769bbe359611 | |
//Nice | |
function New(){return Object};var Old=New(); | |
//Nice 2 | |
var Old=Function,New=function(){return Old}; | |
//Nice 3 | |
var X=function(){};X.__proto__=new X;function New(){return X};var Old=New(); | |
//Nice 4 | |
var Old=function(){},New=function(){return Old};Old.__proto__=new Old; | |
//Ugly | |
var Old=function(){},New=function(){return ++New.c==6?new Old:Old;};New.c=0; | |
//Fucked up | |
var Old,New=function(){return Old};var t=console.log;Old=New,console.log=function(){t(true);}; |
estfyr
commented
Aug 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment