Sign in
webkit
/
WebKit
/
be9b4e2157fc5a81e712f3ea4e4907d0c2890556
/
.
/
JSTests
/
es6
/
Object.prototype.__proto___absent_from_Object.createnull.js
blob: 90fefbd78828706706d39852152ab805979a325b [
file
] [
log
] [
blame
]
function
test
()
{
var
o
=
Object
.
create
(
null
),
p
=
{};
o
.
__proto__
=
p
;
return
Object
.
getPrototypeOf
(
o
)
!==
p
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);