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