1 2 3 4 5 6 7 8 9 10
var obj = {count: 24}; var key = 'count'; for (var i = 0; i < 1024; ++i) { var result = obj[key]; if (i === 2) obj.newAttr = 42; } /* Perform getelem across shape change. */