blob: f0a244bcccd0718f19467ae9f5f06d7e5382edc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
const C = function (a, b, c) {
return function C() {
this.m1 = function () a;
this.m2 = function () b;
this.m3 = function () c;
}
}(2,3,4);
var c = new C();
var d = function (e) {return {m0: function () e}}(5);
for (var i = 0; i < 5; i++)
d.m0();
C.call(d);
d.__iterator__ = function() {yield 55};
for (i = 0; i < 5; i++) {
for (j in d)
print(j);
}
|