Sign in
webkit
/
WebKit
/
f96a7147e1cda0ec250a7488a176687c35252015
/
.
/
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"
);