Sign in
webkit
/
WebKit
/
c70b37a6ab650230cb78b0a9021c262059cf20b2
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
object-literal-ext
/
object-literal-ext.es5
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
);