blob: 5ea31687db9024b7895510c6ee0b1908858ee098 [file] [log] [blame]
function fn() {
var name = 'foo';
var ret = {
'bizz buzz': function() {
return 1;
},
name: name
};
ret[name] = 'bar';
ret[name + 'foo'] = 'foo';
return ret;
}
assertEqual(fn().foofoo, 'foo');
test(fn);