michael@0: michael@0: (function() { michael@0: for (var i = 0; i < 64; ++i) { michael@0: var name; michael@0: switch (this) { michael@0: case 0: name = 'firstAttr'; break; michael@0: case 1: name = 'secondAttr'; michael@0: case 2: name = 'thirdAttr'; break; michael@0: } michael@0: switch (name) { michael@0: case 'firstAttr': assertEq(result, 'value'); break; michael@0: } michael@0: } michael@0: })();