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