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