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