1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
actual = '';
expected = 'bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,bundefined,aundefined,b[object Object],aundefined,';
// tests nfixed case of getting slot with let.
for (var q = 0; q < 10; ++q) {
for each(let b in [(void 0), {}]) {
appendToActual('a' + ((function() {
for (var e in ['']) {
appendToActual('b' + b)
}
})()))
}
}
assertEq(actual, expected)
|