Skip to content

Instantly share code, notes, and snippets.

@azproduction
Forked from padolsey/1.js
Last active December 14, 2015 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azproduction/5016417 to your computer and use it in GitHub Desktop.
Save azproduction/5016417 to your computer and use it in GitHub Desktop.
var x = '/x/';
/x/==x
var x = function () {
var i = -5;
return x = function () {
return ++i ? x : true;
};
};
x() === x()() === x()()()
var x = {
x: 5,
toString: function () {
this.x -= 2;
return this.x;
}
};
x > 2 && x < 2
var X = function () {
this.a = true;
};
X.prototype.a = true;
var x = new X;
delete x.a && x.a;
var x = {
"[object Object]": "[object Object]"
};
x[x]==x
var x = function () { x = '' };
typeof new x < typeof x
var x = Infinity;
x - 1 === x + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment