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