blob: bebabef84fc65993efe3a0808fc9cb45f9c6057a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
eval("var OBJ = new MyObject(true); OBJ.valueOf()")
function MyObject( value ) {
this.valueOf = new Function( "return this.value" );
}
eval("\
var VERSION = \"ECMA_1\";\
var DATE1 = new Date();\
var MYOB1 = new MyObject( DATE1 );\
function MyProtoValuelessObject() {}\
function Function() {\
__proto__[MyProtoValuelessObject] = VERSION;\
}");
|