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