Sign in
webkit
/
WebKit
/
67175abcf1c533e84579770009346b1ad32cc2ab
/
.
/
JSTests
/
es6
/
Object.prototype.__proto___get_prototype.js
blob: a97d00e2674b5da06ca96f3f3303a0516b73eb74 [
file
] [
log
] [
blame
]
function
test
()
{
var
A
=
function
(){};
return
(
new
A
()).
__proto__
===
A
.
prototype
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);