Sign in
webkit
/
WebKit
/
980bb186130ea506a192bbe39c55785dc3f29c8f
/
.
/
JSTests
/
es6
/
Object.prototype.__proto___present_in_Object.getOwnPropertyNames.js
blob: ce02a1b698b34ad5560cb53f6d7eec58d10de9a8 [
file
] [
log
] [
blame
]
function
test
()
{
return
Object
.
getOwnPropertyNames
(
Object
.
prototype
).
indexOf
(
'__proto__'
)
>
-
1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);