blob: 0b76241f7bdafbcb34905505fd1e4149978a41da [file] [log] [blame]
var obj = {
a: 1,
b: 2,
c: 3,
d: null,
e: 'e'
};
function test(src) {
var array = [];
var keys = Object.keys(src);
for (var i = 0; i < keys.length; ++i) {
var key = keys[i];
array.push(src[key]);
}
return array;
}
noInline(test);
for (var i = 0; i < 1e4; ++i)
test(obj);