Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
tests
/
ecma_6
/
Class
/
compPropDestr.js
blob: 2bd8cbd49a151a8c129b5652db79078a22316952 [
file
] [
log
] [
blame
]
var
BUGNUMBER
=
924688
;
var
summary
=
'Computed Property Names'
;
print
(
BUGNUMBER
+
": "
+
summary
);
var
key
=
"z"
;
var
{
[
key
]:
foo
}
=
{
z
:
"bar"
};
assertEq
(
foo
,
"bar"
);
if
(
typeof
reportCompare
===
'function'
)
reportCompare
(
0
,
0
,
"ok"
);