by _Microft · 8y ago · 0 comments
var i = 0;
window.__defineSetter__("x", function(value) { i = value; });
window.__defineGetter__("x", function() {
// LCG, a = 4, c = 1, m = 9;
i = (4 * i + 1) % 9;
return i;
});
x = 3;
if(x === 4 && x === 8 && x === 6) {
"wtf!";
}No comments yet.