Sign in
webkit
/
WebKit
/
2ab9dfaee5c791e0d7b2c0893a55ced8677e2e2a
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
destructuring-simple
/
destructuring-simple.es5
blob: 1bd89387cfb7e548813e22770204b51f37506b15 [
file
] [
log
] [
blame
]
var
data
=
{
a
:
'foo'
,
b
:
{
c
:
'd'
},
arr
:
[
1
,
2
,
3
]
};
function
fn
()
{
var
a
=
data
.
a
,
b
=
data
.
b
;
return
a
;
}
assertEqual
(
fn
(),
'foo'
);
test
(
fn
);