Skip to content

Instantly share code, notes, and snippets.

@pedrodelgallego
Created August 4, 2010 20:46
Show Gist options
  • Save pedrodelgallego/508769 to your computer and use it in GitHub Desktop.
Save pedrodelgallego/508769 to your computer and use it in GitHub Desktop.
var obj = {};
obj.push = Array.prototype.push;
obj.length = 4294967295;
//CHECK#1
var push = obj.push("x", "y", "z");
if (push !== 4294967298) {
$ERROR('#1: var obj = {}; obj.push = Array.prototype.push; obj.length = 4294967295; obj.push("x", "y", "z") === 4294967298. Actual: ' + (push));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment