Sign in
fuchsia
/
third_party
/
webkit
/
d1989a3d4b7a2a0094d2d64c0d64f3113ad54a95
/
.
/
JSTests
/
es6
/
function_name_property_isnt_writable_is_configurable.js
blob: 778e21c9f910cb9c4cc86f119fe08a9a794ca574 [
file
] [
log
] [
blame
]
function
test
()
{
var
descriptor
=
Object
.
getOwnPropertyDescriptor
(
function
f
(){},
"name"
);
return
descriptor
.
enumerable
===
false
&&
descriptor
.
writable
===
false
&&
descriptor
.
configurable
===
true
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);