blob: 010848bddafdad77243e512997605d0cd8b2b278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
function initialize() {};
function test() {
eval("\
var Class = {\
create : function() {\
return function() {\
this.initialize.apply(this, arguments);\
}\
}\
};\
var Foo = Class.create();\
Foo.prototype = {\
initialize : function() {\
this.bar = Foo();\
}\
};\
var foo = new Foo();\
");
}
test();
|