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