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